FAQ
hi, there

When I try to use the distributed shell on yarn. client failed to connect
to resourcemanager.
From the source code, the Client is constructed by default construction:

public Client() throws Exception {
     this(new Configuration());
   }

So that resourcemanager's address in yarn-site.xml will not be loaded.

I change the code in Client$main():
from
Ln162 Client client = new Client();
to Client client = new Client(new YarnConfiguration());

And it works.

Is this an issue or because I did some wrong configuration??


Thanks,
Wei

Search Discussions

  • bc Wong at Jul 2, 2013 at 7:31 pm
    Moving to cdh-user.


    ---------- Forwarded message ----------
    From: wei lu <luwei114@gmail.com>
    Date: Tue, Jul 2, 2013 at 1:10 AM
    Subject: problem for hadoop-2.0.0-cdh4.3.0
    hadoop-yarn-applications/hadoop-yarn-applications-distributedshell
    To: scm-users <scm-users@cloudera.org>


    hi, there

    When I try to use the distributed shell on yarn. client failed to
    connect to resourcemanager.
    From the source code, the Client is constructed by default construction:

    public Client() throws Exception {
         this(new Configuration());
       }

    So that resourcemanager's address in yarn-site.xml will not be loaded.

    I change the code in Client$main():
    from
    Ln162 Client client = new Client();
    to Client client = new Client(new YarnConfiguration());

    And it works.

    Is this an issue or because I did some wrong configuration??


    Thanks,
    Wei

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupscm-users @
categorieshadoop
postedJul 2, '13 at 8:10a
activeJul 2, '13 at 7:31p
posts2
users2
websitecloudera.com
irc#hadoop

2 users in discussion

Wei lu: 1 post bc Wong: 1 post

People

Translate

site design / logo © 2022 Grokbase