Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-130

Yarn examples use wrong configuration

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.0.3-alpha
    • None
    • applications
    • None

    Description

      AFAICT the example applications are broken when you don't use default ports. So it probably won't show in a single node setup.

      The bug fix seems to be:

      • conf = new Configuration();
        + conf = new YarnConfiguration();

      Then the yarn settings file (containing relevant host and port information) will also be read.

      The error messages need to be improved. For me, they said something like "protocol not supported". The reason was that a different hadoop RPC was running on the port it was connecting to. It took me a lot of debugging to find out that it was just talking to the wrong service because it had not read it's configuration file...

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              erich.schubert Erich Schubert
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: