Github user amandamoran commented on a diff in the pull request:

    https://github.com/apache/incubator-trafodion/pull/274#discussion_r51040041
  
    --- Diff: install/installer/traf_getHadoopNodes ---
    @@ -31,20 +29,22 @@ echo "***INFO: Getting list of all $HADOOP_TYPE nodes"
     
     curlRC=0
     if [[ $HADOOP_TYPE == "cloudera" ]]; then
    -   curl -su $ADMIN:$PASSWORD http://$URL/api/v6/cm/deployment > tempFile
    +   curl -k -su $ADMIN:$PASSWORD $URL/api/v10/hosts > tempFile
        curlRC=$?
    --- End diff --
    
    It is being used a few lines down. 
    
    if [ $curlRC != 0 ]; then
       echo "***ERROR: Unable to get list of hosts from $HADOOP_TYPE 
(RC=$curlRC)"
       echo "***ERROR: curl command failed."
       exit -1
    fi



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to