Table of Contents

Search

  1. Preface
  2. Introduction to Data Engineering Administration
  3. Authentication
  4. Running Mappings on a Cluster with Kerberos Authentication
  5. Authorization
  6. Cluster Configuration
  7. Cloud Provisioning Configuration
  8. Data Integration Service Processing
  9. Appendix A: Connections Reference
  10. Appendix B: Monitoring REST API

Sample Retrieve Mapping Statistics

Sample Retrieve Mapping Statistics

The sample use case is to use the script to retrieve the details of the mapping statistics on the Spark environment.
You can use the REST API to retrieve information about the mapping statistics with the following request URL for a mapping with Job ID as _TNoO9ELEeiimY76kFyfuw:
<RESTOperationsHubService_Host>:<RESTOperationsHubService_Port>/RestOperationsHub/services/v1/MappingService/MappingStats('_TNoO9ELEeiimY76kFyfuw')

Mapping Statistics Output

{ "@odata.context": "$metadata#MappingStats/$entity", "jobId": "_TNoO9ELEeiimY76kFyfuw", "mappingDetails": { "status": "COMPLETED", "mappingName": "HDFSTgtAppend_MultiPartition_SparkMode", "applicationName": "HDFSTargetAppend", "serviceName": "DIS_HDP_2.6", "logFileName": "/data/Informatica/10.2.2_252/logs/node252/services/DataIntegrationService/disLogs/ms/DEPLOYED_MAPPING_HDFSTargetAppend_HDFSTgtAppend_MultiPartition_SparkMode-_TNoO9ELEeiimY76kFyfuw_20181016_115325_006.log", "startTime": 1539671005830, "endTime": 1539671244752, "executorType": "SPARK", "executingNode": "node252", "userName": "Administrator", "securityDomain": "Native" } }

0 COMMENTS

We’d like to hear from you!