Uploaded image for project: 'Pig'
  1. Pig
  2. PIG-5152

testPredeployedJar Unit test fails

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • None
    • None
    • None
    • None

    Description

      testPredeployedJar UT fails with below error

      Error Message
      
      Unable to open iterator for alias a. Backend error : org.apache.pig.backend.executionengine.ExecException: ERROR 2997: Unable to recreate exception from backed error: Exception from container-launch.
      Container id: container_1487164427417_0001_01_000002
      Exit code: 0
      Exception message: Cannot run program "bash" (in directory "/xxx/pig/target/PigMiniCluster/PigMiniCluster-localDir-nm-1_3/usercache/nobody/appcache/application_1487164427417_0001/container_1487164427417_0001_01_000002"): error=7, Argument list too long
      Stack trace: java.io.IOException: Cannot run program "bash" (in directory "/xxx/pig/target/PigMiniCluster/PigMiniCluster-localDir-nm-1_3/usercache/nobody/appcache/application_1487164427417_0001/container_1487164427417_0001_01_000002"): error=7, Argument list too long
              at java.lang.ProcessBuilder.start(ProcessBuilder.java:1042)
              at org.apache.hadoop.util.Shell.runCommand(Shell.java:874)
              at org.apache.hadoop.util.Shell.run(Shell.java:844)
              at org.apache.hadoop.util.Shell$ShellCommandExecutor.execute(Shell.java:1123)
              at org.apache.hadoop.yarn.server.nodemanager.DefaultContainerExecutor.launchContainer(DefaultContainerExecutor.java:237)
              at org.apache.hadoop.yarn.server.nodemanager.containermanager.launcher.ContainerLaunch.call(ContainerLaunch.java:317)
              at org.apache.hadoop.yarn.server.nodemanager.containermanager.launcher.ContainerLaunch.call(ContainerLaunch.java:83)
              at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
              at java.util.concurrent.FutureTask.run(FutureTask.java:166)
              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
              at java.lang.Thread.run(Thread.java:722)
      Caused by: java.io.IOException: error=7, Argument list too long
              at java.lang.UNIXProcess.forkAndExec(Native Method)
              at java.lang.UNIXProcess.<init>(UNIXProcess.java:135)
              at java.lang.ProcessImpl.start(ProcessImpl.java:130)
              at java.lang.ProcessBuilder.start(ProcessBuilder.java:1023)
              ... 11 more

      Attachments

        1. testPredeployedJar.log
          11 kB
          Yesha Vora

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            yeshavora Yesha Vora
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment