Home Forums Ambari Job History Web UI

This topic contains 8 replies, has 2 voices, and was last updated by  Sri Sushma K 6 months, 1 week ago.

  • Creator
    Topic
  • #49080

    Sri Sushma K
    Participant

    HI,

    I am working on ec2-instances. IP tables are off on ambari master and two master slaves. I am able to access Ambari UI, NameNode UI but I am unable to accept JobHistory UI and logs on the second master node. PLEASE let me know what can be done because I do not find any logs in var/log/map-reduce/ !. Any help will be highly appreciated. Thank You

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

You must be logged in to reply to this topic.

  • Author
    Replies
  • #50049

    Sri Sushma K
    Participant

    Hi Kenny,

    Thank you for the reply! That was actually a straight forward issue, dunno how I missed it !

    Collapse
    #49237

    Kenny Zhang
    Moderator

    Hi Sri,

    This test result means that the Job History service is up and running, listening on the port 19888 correctly.
    The reason you cannot access it from your work station is due the network issue or might be firewall blocking it. Please work with your network team to open all necessary port, you can verify this by doing the same test and make sure you got the same result as running on the secondary master node.

    Kenny

    Collapse
    #49231

    Sri Sushma K
    Participant

    Hi,
    from the station where I access Web UI :

    Connecting To hdpm2.hdp.hadoop…Could not open connection to the host, on port
    19888: Connect failed

    from secondary master node :

    Trying 172.31.18.85…
    Connected to hdpm2.hdp.hadoop.
    Escape character is ‘^]’.

    What next Kenny, Thank you .

    Collapse
    #49174

    Kenny Zhang
    Moderator

    Hi Sri,

    The 20016 is the process ID, if you didn’t change the port of Job History server. I think it’s still listening on the port 19888.
    So could you please issue the following command from the secondary master node and the work station which you browse JobHistory UI from?

    # telnet hdpm2.hdp.hadoop 19888

    Please share the output of the above two commands.

    Thanks,
    Kenny

    Collapse
    #49153

    Sri Sushma K
    Participant

    Hi again,
    My History server is shown to run on 20016 and from ambari when I click on the link it open on 19888. However I could not access even when I tried with 20016. Please help. Thank You

    Collapse
    #49152

    Sri Sushma K
    Participant

    Hi Again,

    I set the Java path and now got the result for jps as
    22142 Bootstrap
    20817 RunJar
    19336 QuorumPeerMain
    23334 SecondaryNameNode
    22648 ResourceManager
    26332 RunJar
    20016 JobHistoryServer
    32168 Jps
    21457 RunJar

    What next? Thank you

    Collapse
    #49148

    Sri Sushma K
    Participant

    Hi,

    1. jps command not found (but I can see mapreduce running on Ambari UI and can even run map reduce examples)
    2. The following is the error on Web UI

    The connection has timed out
    The server at ec2-x-x-x-x-.us-west-2.compute.amazonaws.com is taking too long to respond.

    The site could be temporarily unavailable or too busy. Try again in a few moments.
    If you are unable to load any pages, check your computer’s network connection.
    If your computer or network is protected by a firewall or proxy, make sure that Firefox is permitted to access the Web.

    3. This is the log in secondary master node. I do not see any logs first master node or slaves.
    2014-02-05 10:47:38,327 INFO hs.JobHistoryServer (StringUtils.java:startupShutdownMessage(601)) – STARTUP_MSG:
    /************************************************************
    STARTUP_MSG: Starting JobHistoryServer
    STARTUP_MSG: host = hdpm2.hdp.hadoop/172.31.18.85
    STARTUP_MSG: args = []
    STARTUP_MSG: version = 2.2.0.2.0.6.0-101
    @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @
    “mapred-mapred-historyserver-hdpm2.hdp.hadoop.log” 13243L, 1500025C
    Kindly let me know what can be done ?

    Collapse
    #49103

    Kenny Zhang
    Moderator

    Hi Sri,

    Please make sure the mapreduce service is turn on and running. You can verify this by issuing the command “jps” on the second master node.

    If the services are up and running, please let us know what error you encounter on the web UI.

    Please also share the history server logs in:
    HDP 2: /var/log/hadoop-mapreduce/mapred/mapred-mapred-historyserver-xxx.log
    HDP 1: /var/log/hadoop/mapred/hadoop-mapred-historyserver-xxx.log

    Kenny

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