Home Forums Hue Trouble to create a new table using HCat under HUE

This topic contains 2 replies, has 3 voices, and was last updated by  teknetik 5 months, 1 week ago.

  • Creator
    Topic
  • #46167

    Ricardo Gaspar
    Participant

    Hi

    I’ve just installed my Hadoop 2.0 using the Automatic way.
    I’ve installed a cluster of three nodes, one master, and two slaves. So in order to proof if my solution works, I installed HUE as the documentation says, and follow the tutorials that there are in Hortonworks pages.

    I uploaded the file, and when I try to create a new table using the HCat, it ends with and error saying:

    IOException: Failed to replace a bad datanode on the existing pipeline due to no more good datanodes being available to try. (Nodes: current=[10.0.49.248:50010, 10.0.49.249:50010], original=[10.0.49.248:50010, 10.0.49.249:50010]). The current failed datanode replacement policy is DEFAULT, and a client may configure this via ‘dfs.client.block.write.replace-datanode-on-failure.policy’ in its configuration.

    Someone could help me.

    Thanks a lot

    best regards.

    I

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

You must be logged in to reply to this topic.

  • Author
    Replies
  • #48682

    teknetik
    Participant

    @Ricardo, sorry this will be a bit late to help you but for future reference and to help others:

    After building from Ambari I had the same issue, a little research brought me to this thread among others.

    It seems that Haddop will default to trying to replicate to 3 datanodes. While Ricardo states he has 3 node “cluster” I am guessing from his logs only 2 are datanodes.

    For a manual in stall edit the hdfs-site.xml or via Ambari and look for the Block replication vales and change it to the number of data nodes, in Ricardos case (and mine) 2. Restart your services, Ambari offers to do this for you (I love Ambari!)

    I could then continue with the tutorial.

    {NOTE: Accuracy of this info cannot be guaranteed as I am just starting out with Hadoop myself}

    Collapse
    #46170

    Dave
    Moderator

    Hi Ricardo,

    Can you check the datanode logs for errors when you get this error in HUE. Can you create a new table in HCat outside of HUE?

    Thanks

    Dave

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