cloudera / navigator-sdk

Navigator SDK
Apache License 2.0
22 stars 23 forks source link

Lineage export #69

Open mdmascarenhas opened 7 years ago

mdmascarenhas commented 7 years ago

The lineageexport program has following note : Following navigator options have to be set before this example program can work.

  1. navigator.api.lineage.export_enabled
    • Set it to true to enable the export API
  2. navigator.api.lineage.export_batch_size
    • This sets the maximum number of entities for which the lineage could be requested for. By default it is set to 100.

Can you please let me know where to find this options?

When I run program now it gives following error: Server returned HTTP response code: 403 for URL: http://localhost:7187/lineage3/export?direction=UPSTREAM&length=3&lineageOptions=0 I dont see lineage3/export option in the v9 api as well.

changhiskhan commented 7 years ago

Sorry for the delayed response. As you've seen from the example, lineage export is not yet a supported feature. The two properties you've cited can be enabled in Cloudera Manager under Navigator Metadata Server configurations. Look for "Navigator Metadata Server Advanced Configuration Snippet (Safety Valve) for cloudera-navigator.properties"