Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

hdfs service check failed because curl not return data

hdfs service check failed because curl not return data


hi all


we noticed that hdfs service check about the curl cli ( from ambari )


when we run the curl , as the following on the first namenode machine


we not get any output

 

curl -s 'http://master01.sys56.com:50070/jmx?qry=Hadoop:service=NameNode,name=FSNamesystem'

 

so we run it as debug mode as the following


curl --trace - -s 'http://master01.sys56.com:50070/jmx?qry=Hadoop:service=NameNode,name=FSNamesystem'
== Info: About to connect() to master01.sys56.com port 50070 (#0)
== Info: Trying 108.14.3.23...
== Info: Connected to master01.sys56.com (108.14.3.23) port 50070 (#0)
=> Send header, 144 bytes (0x90)
0000: 47 45 54 20 2f 6a 6d 78 3f 71 72 79 3d 48 61 64 GET /jmx?qry=Had
0010: 6f 6f 70 3a 73 65 72 76 69 63 65 3d 4e 61 6d 65 oop:service=Name
0020: 4e 6f 64 65 2c 6e 61 6d 65 3d 46 53 4e 61 6d 65 Node,name=FSName
0030: 73 79 73 74 65 6d 20 48 54 54 50 2f 31 2e 31 0d system HTTP/1.1.
0040: 0a 55 73 65 72 2d 41 67 65 6e 74 3a 20 63 75 72 .User-Agent: cur
0050: 6c 2f 37 2e 32 39 2e 30 0d 0a 48 6f 73 74 3a 20 l/7.29.0..Host:
0060: 6d 61 73 74 65 72 30 31 2e 6e 69 67 68 74 6c 79 master01.nightly
0070: 63 69 34 37 39 2e 63 6f 6d 3a 35 30 30 37 30 0d ci479.com:50070.
0080: 0a 41 63 63 65 70 74 3a 20 2a 2f 2a 0d 0a 0d 0a .Accept: */*....


any idea how to know why curl not return output

Michael-Bronson
Don't have an account?
Coming from Hortonworks? Activate your account here