Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-13774

Rest Loaded App fails

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 2.7.3
    • None
    • None
    • None
    • Hadoop Map Reduce REST

    Description

      Hello,
      I am launching an app within a MR REST. This app executes well within Hadoop normal invocation. However, when I use the rest

      curl -i -X POST -H 'Accept: application/json' -H 'Content-Type: application/json' http://localhost:8088/ws/v1/cluster/apps?user.name=exo -d @app.json
      

      6/10/31 21:42:13 INFO client.RMProxy: Connecting to ResourceManager at /0.0.0.0:8032
      16/10/31 21:42:14 INFO input.FileInputFormat: Total input paths to process : 4
      16/10/31 21:42:14 INFO mapreduce.JobSubmitter: number of splits:4
      16/10/31 21:42:14 INFO mapreduce.JobSubmitter: Submitting tokens for job: job_1477946173138_0003
      16/10/31 21:42:14 INFO mapreduce.JobSubmitter: Kind: YARN_AM_RM_TOKEN, Service: , Ident: (appAttemptId { application_id

      { id: 3 cluster_timestamp: 1477946173138 }

      attemptId: 1 } keyId: -678745738)
      16/10/31 21:42:15 INFO impl.YarnClientImpl: Submitted application application_1477946173138_0003
      16/10/31 21:42:15 INFO mapreduce.Job: The url to track the job: http://MEA-029-L:8088/proxy/application_1477946173138_0003/
      16/10/31 21:42:15 INFO mapreduce.Job: Running job: job_1477946173138_0003
      16/10/31 21:52:53 INFO mapreduce.Job: Job job_1477946173138_0003 running in uber mode : false
      16/10/31 21:52:53 INFO mapreduce.Job: map 0% reduce 0%
      16/10/31 21:52:53 INFO mapreduce.Job: Job job_1477946173138_0003 failed with state FAILED due to: Application application_1477946173138_0003 failed 1 times due to ApplicationMaster for attempt appattempt_1477946173138_0003_000001 timed out. Failing the application.
      16/10/31 21:52:53 INFO mapreduce.Job: Counters: 0

      
      

      The main job always ends fail with timeout.

      Attachments

        1. Error_message.png
          171 kB
          Omar Bouras
        2. Failed_app_exec.png
          152 kB
          Omar Bouras
        3. WordCount.java
          3 kB
          Omar Bouras
        4. app.json
          2 kB
          Omar Bouras

        Activity

          People

            Unassigned Unassigned
            bourasom Omar Bouras
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: