webhdfs error: namenoderpcaddress is not specified

to create new topics or reply. | New User Registration

This topic contains 2 replies, has 2 voices, and was last updated by  Tushar Sudake 2 weeks, 3 days ago.

  • Creator
    Topic
  • #58449

    Leo Wang
    Participant

    trying to access hdfs through webhdfs interface : http://192.168.182.157:50075/webhdfs/v1//?user.name=root&op=GETCONTENTSUMMARY

    the reponse message is shown as below:

    {
    RemoteException: {
    exception: “IllegalArgumentException”,
    javaClassName: “java.lang.IllegalArgumentException”,
    message: “namenoderpcaddress is not specified.”
    }
    }

    is there any way to fix this issue?

Viewing 2 replies - 1 through 2 (of 2 total)

You must be to reply to this topic. | Create Account

  • Author
    Replies
  • #69512

    Tushar Sudake
    Participant

    Add “namenoderpcaddress” parameter.
    Example: curl -i “http://haisenberg-pc:50075/webhdfs/v1/input/testData.txt?op=OPEN&namenoderpcaddress=haisenberg-pc:9000″

    Collapse
    #69511

    Tushar Sudake
    Participant

    Add “namenoderpcaddress” parameter.
    Example: curl -i “http://haisenberg-pc:50075/webhdfs/v1/input/testData.txt?op=OPEN&<b>namenoderpcaddress</b>=haisenberg-pc:9000″

    Collapse
Viewing 2 replies - 1 through 2 (of 2 total)
Hortonworks Data Platform
The Hortonworks Data Platform is a 100% open source distribution of Apache Hadoop that is truly enterprise grade having been built, tested and hardened with enterprise rigor.
Get started with Sandbox
Hortonworks Sandbox is a self-contained virtual machine with Apache Hadoop pre-configured alongside a set of hands-on, step-by-step Hadoop tutorials.
Modern Data Architecture
Tackle the challenges of big data. Hadoop integrates with existing EDW, RDBMS and MPP systems to deliver lower cost, higher capacity infrastructure.