Run the extraction for CDH 6 with Cloudera Manager 7

Extraction must be executed for all Navigator Metadata Server clusters prior to the Cloudera Manager upgrade. 

  1. Determine the required information for the extraction:
    • Planned host for the Atlas service
    • JAVA_HOME location
    • Navigator Metadata Server cluster names
    • Navigator Metadata Server admin users
    • Keystore and truststore paths and passwords
    $ ssh <planned Atlas host>
    $ export JAVA_HOME=…
    $ /opt/cloudera/cm-agent/service/navigator/ -n http://<NAVIGATOR_METADATA_HOST>:7187 -u<NAVIGATOR_USERNAME> -p<NAVIGATOR_PASSWORD> -c ‘<CLUSTER_NAME>’ -o ‘/tmp/nav2atlas/<cluster_name>’
  2. Open a terminal window or command prompt from where you can access the cluster.
  3. Using the provided command, SSH into the Atlas host.
  4. Run the export command pointing to the location of the JDK, to make sure the JAVA_HOME variable is set.
  5. Customize the extraction command to include the Navigator admin user and password.
  6. Run the extraction command.
When the extraction is complete, you can view a status message in the command output.
    If Navigator is configured with TLS/SSL, the cnav script needs the following credential information:
    • Truststore path
    • Truststore password
    • Keystore path
    • Keystore password

    To make these parameters available, run the following commands before running the cnav script:

    export KEYSTORE_PATH=<keystore-path>;

    export KEYSTORE_PASSWORD=<keystore-password>;

    export TRUSTSTORE_PATH=<truststore-path>;

    export TRUSTSTORE_PASSWORD=<truststore-password>

    For example, the command sequence might look similar to the following (line breaks are introduced for readability):

    export KEYSTORE_PATH=/opt/cloudera/CMCA/trust-store/acme_truststore.jks;


    export TRUSTSTORE_PASSWORD=123420978alngdfdfjliaiu;
    /opt/cloudera/cm-agent/service/navigator/ -n
                            https://acme-finance-1.acme-finance:7187 -u admin -p adminpass -c "Cluster 2" -o