[GitHub] twill pull request #65: (TWILL-254) Update to use ContainerId.fromString
Github user serranom commented on a diff in the pull request: https://github.com/apache/twill/pull/65#discussion_r165965620 --- Diff: twill-yarn/src/main/hadoop22/org/apache/twill/internal/yarn/Hadoop22YarnAMClient.java --- @@ -26,7 +26,7 @@ /** * Wrapper class for AMRMClient for Hadoop version 2.2 or greater. */ -public final class Hadoop22YarnAMClient extends Hadoop21YarnAMClient { +public class Hadoop22YarnAMClient extends Hadoop21YarnAMClient { --- End diff -- Ah, okay then. sorry, I missed that. ---
[jira] [Commented] (TWILL-254) Update to use ContainerId.fromString
[ https://issues.apache.org/jira/browse/TWILL-254?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16352347#comment-16352347 ] ASF GitHub Bot commented on TWILL-254: -- Github user serranom commented on a diff in the pull request: https://github.com/apache/twill/pull/65#discussion_r165965620 --- Diff: twill-yarn/src/main/hadoop22/org/apache/twill/internal/yarn/Hadoop22YarnAMClient.java --- @@ -26,7 +26,7 @@ /** * Wrapper class for AMRMClient for Hadoop version 2.2 or greater. */ -public final class Hadoop22YarnAMClient extends Hadoop21YarnAMClient { +public class Hadoop22YarnAMClient extends Hadoop21YarnAMClient { --- End diff -- Ah, okay then. sorry, I missed that. > Update to use ContainerId.fromString > > > Key: TWILL-254 > URL: https://issues.apache.org/jira/browse/TWILL-254 > Project: Apache Twill > Issue Type: Bug > Components: yarn >Affects Versions: 0.12.0 >Reporter: Clay B. >Priority: Trivial > > Hello, trying to use 0.12 or master, I get the following on a Hortonworks > 2.6.1 (aka roughtly Hadoop 2.7.3) cluster. (One can avoid this by > specifically building for Hadoop 2.6+ via {{mvn package > -Dhadoop.version=2.6.0}} but I was being a bit slow to realize what was up,) > I have a patch to move us away from the deprecated (see YARN-1942) call in > the stack trace anyhow and provide Hadoop 2.6 as a supported profile. > {code:java} > Exception in thread "main" java.lang.reflect.InvocationTargetException > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:498) > at org.apache.twill.launcher.TwillLauncher.main(TwillLauncher.java:73) > Caused by: java.lang.RuntimeException: > java.lang.reflect.InvocationTargetException > at com.google.common.base.Throwables.propagate(Throwables.java:160) > at > org.apache.twill.internal.yarn.VersionDetectYarnAMClientFactory.create(VersionDetectYarnAMClientFactory.java:61) > at > org.apache.twill.internal.appmaster.ApplicationMasterMain.doMain(ApplicationMasterMain.java:85) > at > org.apache.twill.internal.appmaster.ApplicationMasterMain.main(ApplicationMasterMain.java:71) > ... 5 more > Caused by: java.lang.reflect.InvocationTargetException > at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native > Method) > at > sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) > at > sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) > at java.lang.reflect.Constructor.newInstance(Constructor.java:423) > at > org.apache.twill.internal.yarn.VersionDetectYarnAMClientFactory.create(VersionDetectYarnAMClientFactory.java:58) > ... 7 more > Caused by: java.lang.IllegalArgumentException: Invalid ContainerId: > container_e164_1516738752188_0024_01_01 > at > org.apache.hadoop.yarn.util.ConverterUtils.toContainerId(ConverterUtils.java:182) > at > org.apache.twill.internal.yarn.AbstractYarnAMClient.(AbstractYarnAMClient.java:83) > at > org.apache.twill.internal.yarn.Hadoop21YarnAMClient.(Hadoop21YarnAMClient.java:65) > at > org.apache.twill.internal.yarn.Hadoop22YarnAMClient.(Hadoop22YarnAMClient.java:34) > ... 12 more > Caused by: java.lang.NumberFormatException: For input string: "e164" > at > java.lang.NumberFormatException.forInputString(NumberFormatException.java:65) > at java.lang.Long.parseLong(Long.java:589) > at java.lang.Long.parseLong(Long.java:631) > at > org.apache.hadoop.yarn.util.ConverterUtils.toApplicationAttemptId(ConverterUtils.java:137) > at > org.apache.hadoop.yarn.util.ConverterUtils.toContainerId(ConverterUtils.java:177) > ... 15 more > {code} > For reference, it looks like YARN-2182 appears in Hadoop 2.6 to have changed > container ID formats and a new API call came out > [{{ContainerId.fromString}}|https://hadoop.apache.org/docs/r2.6.0/api/org/apache/hadoop/yarn/api/records/ContainerId.html#fromString(java.lang.String)]. > Meanwhile, the container ID format change was not reflected, of course, in > older versions of Hadoop as clarified in YARN-3575. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[GitHub] twill pull request #65: (TWILL-254) Update to use ContainerId.fromString
Github user chtyim commented on a diff in the pull request: https://github.com/apache/twill/pull/65#discussion_r166078366 --- Diff: pom.xml --- @@ -680,9 +680,9 @@ -hadoop-2.5 +hadoop-2.6 -2.5.1 +2.6.5 --- End diff -- The profile for different versions of Hadoop is both for version specific code as well as for running unit-tests. It is better to keep it and add the hadoop-2.6 ---
[jira] [Commented] (TWILL-254) Update to use ContainerId.fromString
[ https://issues.apache.org/jira/browse/TWILL-254?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16352781#comment-16352781 ] ASF GitHub Bot commented on TWILL-254: -- Github user chtyim commented on a diff in the pull request: https://github.com/apache/twill/pull/65#discussion_r166078366 --- Diff: pom.xml --- @@ -680,9 +680,9 @@ -hadoop-2.5 +hadoop-2.6 -2.5.1 +2.6.5 --- End diff -- The profile for different versions of Hadoop is both for version specific code as well as for running unit-tests. It is better to keep it and add the hadoop-2.6 > Update to use ContainerId.fromString > > > Key: TWILL-254 > URL: https://issues.apache.org/jira/browse/TWILL-254 > Project: Apache Twill > Issue Type: Bug > Components: yarn >Affects Versions: 0.12.0 >Reporter: Clay B. >Priority: Trivial > > Hello, trying to use 0.12 or master, I get the following on a Hortonworks > 2.6.1 (aka roughtly Hadoop 2.7.3) cluster. (One can avoid this by > specifically building for Hadoop 2.6+ via {{mvn package > -Dhadoop.version=2.6.0}} but I was being a bit slow to realize what was up,) > I have a patch to move us away from the deprecated (see YARN-1942) call in > the stack trace anyhow and provide Hadoop 2.6 as a supported profile. > {code:java} > Exception in thread "main" java.lang.reflect.InvocationTargetException > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:498) > at org.apache.twill.launcher.TwillLauncher.main(TwillLauncher.java:73) > Caused by: java.lang.RuntimeException: > java.lang.reflect.InvocationTargetException > at com.google.common.base.Throwables.propagate(Throwables.java:160) > at > org.apache.twill.internal.yarn.VersionDetectYarnAMClientFactory.create(VersionDetectYarnAMClientFactory.java:61) > at > org.apache.twill.internal.appmaster.ApplicationMasterMain.doMain(ApplicationMasterMain.java:85) > at > org.apache.twill.internal.appmaster.ApplicationMasterMain.main(ApplicationMasterMain.java:71) > ... 5 more > Caused by: java.lang.reflect.InvocationTargetException > at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native > Method) > at > sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) > at > sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) > at java.lang.reflect.Constructor.newInstance(Constructor.java:423) > at > org.apache.twill.internal.yarn.VersionDetectYarnAMClientFactory.create(VersionDetectYarnAMClientFactory.java:58) > ... 7 more > Caused by: java.lang.IllegalArgumentException: Invalid ContainerId: > container_e164_1516738752188_0024_01_01 > at > org.apache.hadoop.yarn.util.ConverterUtils.toContainerId(ConverterUtils.java:182) > at > org.apache.twill.internal.yarn.AbstractYarnAMClient.(AbstractYarnAMClient.java:83) > at > org.apache.twill.internal.yarn.Hadoop21YarnAMClient.(Hadoop21YarnAMClient.java:65) > at > org.apache.twill.internal.yarn.Hadoop22YarnAMClient.(Hadoop22YarnAMClient.java:34) > ... 12 more > Caused by: java.lang.NumberFormatException: For input string: "e164" > at > java.lang.NumberFormatException.forInputString(NumberFormatException.java:65) > at java.lang.Long.parseLong(Long.java:589) > at java.lang.Long.parseLong(Long.java:631) > at > org.apache.hadoop.yarn.util.ConverterUtils.toApplicationAttemptId(ConverterUtils.java:137) > at > org.apache.hadoop.yarn.util.ConverterUtils.toContainerId(ConverterUtils.java:177) > ... 15 more > {code} > For reference, it looks like YARN-2182 appears in Hadoop 2.6 to have changed > container ID formats and a new API call came out > [{{ContainerId.fromString}}|https://hadoop.apache.org/docs/r2.6.0/api/org/apache/hadoop/yarn/api/records/ContainerId.html#fromString(java.lang.String)]. > Meanwhile, the container ID format change was not reflected, of course, in > older versions of Hadoop as clarified in YARN-3575. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[GitHub] twill issue #65: (TWILL-254) Update to use ContainerId.fromString
Github user chtyim commented on the issue: https://github.com/apache/twill/pull/65 The change looks mostly ok to me, except for the change in the pom.xml profile. ---
[jira] [Commented] (TWILL-254) Update to use ContainerId.fromString
[ https://issues.apache.org/jira/browse/TWILL-254?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16352786#comment-16352786 ] ASF GitHub Bot commented on TWILL-254: -- Github user chtyim commented on the issue: https://github.com/apache/twill/pull/65 The change looks mostly ok to me, except for the change in the pom.xml profile. > Update to use ContainerId.fromString > > > Key: TWILL-254 > URL: https://issues.apache.org/jira/browse/TWILL-254 > Project: Apache Twill > Issue Type: Bug > Components: yarn >Affects Versions: 0.12.0 >Reporter: Clay B. >Priority: Trivial > > Hello, trying to use 0.12 or master, I get the following on a Hortonworks > 2.6.1 (aka roughtly Hadoop 2.7.3) cluster. (One can avoid this by > specifically building for Hadoop 2.6+ via {{mvn package > -Dhadoop.version=2.6.0}} but I was being a bit slow to realize what was up,) > I have a patch to move us away from the deprecated (see YARN-1942) call in > the stack trace anyhow and provide Hadoop 2.6 as a supported profile. > {code:java} > Exception in thread "main" java.lang.reflect.InvocationTargetException > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:498) > at org.apache.twill.launcher.TwillLauncher.main(TwillLauncher.java:73) > Caused by: java.lang.RuntimeException: > java.lang.reflect.InvocationTargetException > at com.google.common.base.Throwables.propagate(Throwables.java:160) > at > org.apache.twill.internal.yarn.VersionDetectYarnAMClientFactory.create(VersionDetectYarnAMClientFactory.java:61) > at > org.apache.twill.internal.appmaster.ApplicationMasterMain.doMain(ApplicationMasterMain.java:85) > at > org.apache.twill.internal.appmaster.ApplicationMasterMain.main(ApplicationMasterMain.java:71) > ... 5 more > Caused by: java.lang.reflect.InvocationTargetException > at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native > Method) > at > sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) > at > sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) > at java.lang.reflect.Constructor.newInstance(Constructor.java:423) > at > org.apache.twill.internal.yarn.VersionDetectYarnAMClientFactory.create(VersionDetectYarnAMClientFactory.java:58) > ... 7 more > Caused by: java.lang.IllegalArgumentException: Invalid ContainerId: > container_e164_1516738752188_0024_01_01 > at > org.apache.hadoop.yarn.util.ConverterUtils.toContainerId(ConverterUtils.java:182) > at > org.apache.twill.internal.yarn.AbstractYarnAMClient.(AbstractYarnAMClient.java:83) > at > org.apache.twill.internal.yarn.Hadoop21YarnAMClient.(Hadoop21YarnAMClient.java:65) > at > org.apache.twill.internal.yarn.Hadoop22YarnAMClient.(Hadoop22YarnAMClient.java:34) > ... 12 more > Caused by: java.lang.NumberFormatException: For input string: "e164" > at > java.lang.NumberFormatException.forInputString(NumberFormatException.java:65) > at java.lang.Long.parseLong(Long.java:589) > at java.lang.Long.parseLong(Long.java:631) > at > org.apache.hadoop.yarn.util.ConverterUtils.toApplicationAttemptId(ConverterUtils.java:137) > at > org.apache.hadoop.yarn.util.ConverterUtils.toContainerId(ConverterUtils.java:177) > ... 15 more > {code} > For reference, it looks like YARN-2182 appears in Hadoop 2.6 to have changed > container ID formats and a new API call came out > [{{ContainerId.fromString}}|https://hadoop.apache.org/docs/r2.6.0/api/org/apache/hadoop/yarn/api/records/ContainerId.html#fromString(java.lang.String)]. > Meanwhile, the container ID format change was not reflected, of course, in > older versions of Hadoop as clarified in YARN-3575. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[GitHub] twill issue #65: (TWILL-254) Update to use ContainerId.fromString
Github user cbaenziger commented on the issue: https://github.com/apache/twill/pull/65 Hi @chtyim, thank you for the review. Could you please expand on what you see concerning in the `pom.xml`? For reference, I need to provide a 2.6 target as it is the first version to provide the `ContainerId.fromString()` API. ---
[jira] [Commented] (TWILL-254) Update to use ContainerId.fromString
[ https://issues.apache.org/jira/browse/TWILL-254?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16353022#comment-16353022 ] ASF GitHub Bot commented on TWILL-254: -- Github user cbaenziger commented on the issue: https://github.com/apache/twill/pull/65 Hi @chtyim, thank you for the review. Could you please expand on what you see concerning in the `pom.xml`? For reference, I need to provide a 2.6 target as it is the first version to provide the `ContainerId.fromString()` API. > Update to use ContainerId.fromString > > > Key: TWILL-254 > URL: https://issues.apache.org/jira/browse/TWILL-254 > Project: Apache Twill > Issue Type: Bug > Components: yarn >Affects Versions: 0.12.0 >Reporter: Clay B. >Priority: Trivial > > Hello, trying to use 0.12 or master, I get the following on a Hortonworks > 2.6.1 (aka roughtly Hadoop 2.7.3) cluster. (One can avoid this by > specifically building for Hadoop 2.6+ via {{mvn package > -Dhadoop.version=2.6.0}} but I was being a bit slow to realize what was up,) > I have a patch to move us away from the deprecated (see YARN-1942) call in > the stack trace anyhow and provide Hadoop 2.6 as a supported profile. > {code:java} > Exception in thread "main" java.lang.reflect.InvocationTargetException > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:498) > at org.apache.twill.launcher.TwillLauncher.main(TwillLauncher.java:73) > Caused by: java.lang.RuntimeException: > java.lang.reflect.InvocationTargetException > at com.google.common.base.Throwables.propagate(Throwables.java:160) > at > org.apache.twill.internal.yarn.VersionDetectYarnAMClientFactory.create(VersionDetectYarnAMClientFactory.java:61) > at > org.apache.twill.internal.appmaster.ApplicationMasterMain.doMain(ApplicationMasterMain.java:85) > at > org.apache.twill.internal.appmaster.ApplicationMasterMain.main(ApplicationMasterMain.java:71) > ... 5 more > Caused by: java.lang.reflect.InvocationTargetException > at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native > Method) > at > sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) > at > sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) > at java.lang.reflect.Constructor.newInstance(Constructor.java:423) > at > org.apache.twill.internal.yarn.VersionDetectYarnAMClientFactory.create(VersionDetectYarnAMClientFactory.java:58) > ... 7 more > Caused by: java.lang.IllegalArgumentException: Invalid ContainerId: > container_e164_1516738752188_0024_01_01 > at > org.apache.hadoop.yarn.util.ConverterUtils.toContainerId(ConverterUtils.java:182) > at > org.apache.twill.internal.yarn.AbstractYarnAMClient.(AbstractYarnAMClient.java:83) > at > org.apache.twill.internal.yarn.Hadoop21YarnAMClient.(Hadoop21YarnAMClient.java:65) > at > org.apache.twill.internal.yarn.Hadoop22YarnAMClient.(Hadoop22YarnAMClient.java:34) > ... 12 more > Caused by: java.lang.NumberFormatException: For input string: "e164" > at > java.lang.NumberFormatException.forInputString(NumberFormatException.java:65) > at java.lang.Long.parseLong(Long.java:589) > at java.lang.Long.parseLong(Long.java:631) > at > org.apache.hadoop.yarn.util.ConverterUtils.toApplicationAttemptId(ConverterUtils.java:137) > at > org.apache.hadoop.yarn.util.ConverterUtils.toContainerId(ConverterUtils.java:177) > ... 15 more > {code} > For reference, it looks like YARN-2182 appears in Hadoop 2.6 to have changed > container ID formats and a new API call came out > [{{ContainerId.fromString}}|https://hadoop.apache.org/docs/r2.6.0/api/org/apache/hadoop/yarn/api/records/ContainerId.html#fromString(java.lang.String)]. > Meanwhile, the container ID format change was not reflected, of course, in > older versions of Hadoop as clarified in YARN-3575. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[GitHub] twill pull request #65: (TWILL-254) Update to use ContainerId.fromString
Github user cbaenziger commented on a diff in the pull request: https://github.com/apache/twill/pull/65#discussion_r166133525 --- Diff: pom.xml --- @@ -680,9 +680,9 @@ -hadoop-2.5 +hadoop-2.6 -2.5.1 +2.6.5 --- End diff -- @chtyim You are asking me to leave the 2.5 profile alone and add the 2.6 profile? ---
[jira] [Commented] (TWILL-254) Update to use ContainerId.fromString
[ https://issues.apache.org/jira/browse/TWILL-254?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16353027#comment-16353027 ] ASF GitHub Bot commented on TWILL-254: -- Github user cbaenziger commented on a diff in the pull request: https://github.com/apache/twill/pull/65#discussion_r166133525 --- Diff: pom.xml --- @@ -680,9 +680,9 @@ -hadoop-2.5 +hadoop-2.6 -2.5.1 +2.6.5 --- End diff -- @chtyim You are asking me to leave the 2.5 profile alone and add the 2.6 profile? > Update to use ContainerId.fromString > > > Key: TWILL-254 > URL: https://issues.apache.org/jira/browse/TWILL-254 > Project: Apache Twill > Issue Type: Bug > Components: yarn >Affects Versions: 0.12.0 >Reporter: Clay B. >Priority: Trivial > > Hello, trying to use 0.12 or master, I get the following on a Hortonworks > 2.6.1 (aka roughtly Hadoop 2.7.3) cluster. (One can avoid this by > specifically building for Hadoop 2.6+ via {{mvn package > -Dhadoop.version=2.6.0}} but I was being a bit slow to realize what was up,) > I have a patch to move us away from the deprecated (see YARN-1942) call in > the stack trace anyhow and provide Hadoop 2.6 as a supported profile. > {code:java} > Exception in thread "main" java.lang.reflect.InvocationTargetException > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:498) > at org.apache.twill.launcher.TwillLauncher.main(TwillLauncher.java:73) > Caused by: java.lang.RuntimeException: > java.lang.reflect.InvocationTargetException > at com.google.common.base.Throwables.propagate(Throwables.java:160) > at > org.apache.twill.internal.yarn.VersionDetectYarnAMClientFactory.create(VersionDetectYarnAMClientFactory.java:61) > at > org.apache.twill.internal.appmaster.ApplicationMasterMain.doMain(ApplicationMasterMain.java:85) > at > org.apache.twill.internal.appmaster.ApplicationMasterMain.main(ApplicationMasterMain.java:71) > ... 5 more > Caused by: java.lang.reflect.InvocationTargetException > at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native > Method) > at > sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) > at > sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) > at java.lang.reflect.Constructor.newInstance(Constructor.java:423) > at > org.apache.twill.internal.yarn.VersionDetectYarnAMClientFactory.create(VersionDetectYarnAMClientFactory.java:58) > ... 7 more > Caused by: java.lang.IllegalArgumentException: Invalid ContainerId: > container_e164_1516738752188_0024_01_01 > at > org.apache.hadoop.yarn.util.ConverterUtils.toContainerId(ConverterUtils.java:182) > at > org.apache.twill.internal.yarn.AbstractYarnAMClient.(AbstractYarnAMClient.java:83) > at > org.apache.twill.internal.yarn.Hadoop21YarnAMClient.(Hadoop21YarnAMClient.java:65) > at > org.apache.twill.internal.yarn.Hadoop22YarnAMClient.(Hadoop22YarnAMClient.java:34) > ... 12 more > Caused by: java.lang.NumberFormatException: For input string: "e164" > at > java.lang.NumberFormatException.forInputString(NumberFormatException.java:65) > at java.lang.Long.parseLong(Long.java:589) > at java.lang.Long.parseLong(Long.java:631) > at > org.apache.hadoop.yarn.util.ConverterUtils.toApplicationAttemptId(ConverterUtils.java:137) > at > org.apache.hadoop.yarn.util.ConverterUtils.toContainerId(ConverterUtils.java:177) > ... 15 more > {code} > For reference, it looks like YARN-2182 appears in Hadoop 2.6 to have changed > container ID formats and a new API call came out > [{{ContainerId.fromString}}|https://hadoop.apache.org/docs/r2.6.0/api/org/apache/hadoop/yarn/api/records/ContainerId.html#fromString(java.lang.String)]. > Meanwhile, the container ID format change was not reflected, of course, in > older versions of Hadoop as clarified in YARN-3575. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[GitHub] twill pull request #65: (TWILL-254) Update to use ContainerId.fromString
Github user chtyim commented on a diff in the pull request: https://github.com/apache/twill/pull/65#discussion_r166160088 --- Diff: pom.xml --- @@ -680,9 +680,9 @@ -hadoop-2.5 +hadoop-2.6 -2.5.1 +2.6.5 --- End diff -- Yes, that's correct. ---
[jira] [Commented] (TWILL-254) Update to use ContainerId.fromString
[ https://issues.apache.org/jira/browse/TWILL-254?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16353173#comment-16353173 ] ASF GitHub Bot commented on TWILL-254: -- Github user chtyim commented on a diff in the pull request: https://github.com/apache/twill/pull/65#discussion_r166160088 --- Diff: pom.xml --- @@ -680,9 +680,9 @@ -hadoop-2.5 +hadoop-2.6 -2.5.1 +2.6.5 --- End diff -- Yes, that's correct. > Update to use ContainerId.fromString > > > Key: TWILL-254 > URL: https://issues.apache.org/jira/browse/TWILL-254 > Project: Apache Twill > Issue Type: Bug > Components: yarn >Affects Versions: 0.12.0 >Reporter: Clay B. >Priority: Trivial > > Hello, trying to use 0.12 or master, I get the following on a Hortonworks > 2.6.1 (aka roughtly Hadoop 2.7.3) cluster. (One can avoid this by > specifically building for Hadoop 2.6+ via {{mvn package > -Dhadoop.version=2.6.0}} but I was being a bit slow to realize what was up,) > I have a patch to move us away from the deprecated (see YARN-1942) call in > the stack trace anyhow and provide Hadoop 2.6 as a supported profile. > {code:java} > Exception in thread "main" java.lang.reflect.InvocationTargetException > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:498) > at org.apache.twill.launcher.TwillLauncher.main(TwillLauncher.java:73) > Caused by: java.lang.RuntimeException: > java.lang.reflect.InvocationTargetException > at com.google.common.base.Throwables.propagate(Throwables.java:160) > at > org.apache.twill.internal.yarn.VersionDetectYarnAMClientFactory.create(VersionDetectYarnAMClientFactory.java:61) > at > org.apache.twill.internal.appmaster.ApplicationMasterMain.doMain(ApplicationMasterMain.java:85) > at > org.apache.twill.internal.appmaster.ApplicationMasterMain.main(ApplicationMasterMain.java:71) > ... 5 more > Caused by: java.lang.reflect.InvocationTargetException > at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native > Method) > at > sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) > at > sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) > at java.lang.reflect.Constructor.newInstance(Constructor.java:423) > at > org.apache.twill.internal.yarn.VersionDetectYarnAMClientFactory.create(VersionDetectYarnAMClientFactory.java:58) > ... 7 more > Caused by: java.lang.IllegalArgumentException: Invalid ContainerId: > container_e164_1516738752188_0024_01_01 > at > org.apache.hadoop.yarn.util.ConverterUtils.toContainerId(ConverterUtils.java:182) > at > org.apache.twill.internal.yarn.AbstractYarnAMClient.(AbstractYarnAMClient.java:83) > at > org.apache.twill.internal.yarn.Hadoop21YarnAMClient.(Hadoop21YarnAMClient.java:65) > at > org.apache.twill.internal.yarn.Hadoop22YarnAMClient.(Hadoop22YarnAMClient.java:34) > ... 12 more > Caused by: java.lang.NumberFormatException: For input string: "e164" > at > java.lang.NumberFormatException.forInputString(NumberFormatException.java:65) > at java.lang.Long.parseLong(Long.java:589) > at java.lang.Long.parseLong(Long.java:631) > at > org.apache.hadoop.yarn.util.ConverterUtils.toApplicationAttemptId(ConverterUtils.java:137) > at > org.apache.hadoop.yarn.util.ConverterUtils.toContainerId(ConverterUtils.java:177) > ... 15 more > {code} > For reference, it looks like YARN-2182 appears in Hadoop 2.6 to have changed > container ID formats and a new API call came out > [{{ContainerId.fromString}}|https://hadoop.apache.org/docs/r2.6.0/api/org/apache/hadoop/yarn/api/records/ContainerId.html#fromString(java.lang.String)]. > Meanwhile, the container ID format change was not reflected, of course, in > older versions of Hadoop as clarified in YARN-3575. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[GitHub] twill issue #65: (TWILL-254) Update to use ContainerId.fromString
Github user chtyim commented on the issue: https://github.com/apache/twill/pull/65 Changes LGTM. ---
[jira] [Commented] (TWILL-254) Update to use ContainerId.fromString
[ https://issues.apache.org/jira/browse/TWILL-254?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16353176#comment-16353176 ] ASF GitHub Bot commented on TWILL-254: -- Github user chtyim commented on the issue: https://github.com/apache/twill/pull/65 Changes LGTM. > Update to use ContainerId.fromString > > > Key: TWILL-254 > URL: https://issues.apache.org/jira/browse/TWILL-254 > Project: Apache Twill > Issue Type: Bug > Components: yarn >Affects Versions: 0.12.0 >Reporter: Clay B. >Priority: Trivial > > Hello, trying to use 0.12 or master, I get the following on a Hortonworks > 2.6.1 (aka roughtly Hadoop 2.7.3) cluster. (One can avoid this by > specifically building for Hadoop 2.6+ via {{mvn package > -Dhadoop.version=2.6.0}} but I was being a bit slow to realize what was up,) > I have a patch to move us away from the deprecated (see YARN-1942) call in > the stack trace anyhow and provide Hadoop 2.6 as a supported profile. > {code:java} > Exception in thread "main" java.lang.reflect.InvocationTargetException > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:498) > at org.apache.twill.launcher.TwillLauncher.main(TwillLauncher.java:73) > Caused by: java.lang.RuntimeException: > java.lang.reflect.InvocationTargetException > at com.google.common.base.Throwables.propagate(Throwables.java:160) > at > org.apache.twill.internal.yarn.VersionDetectYarnAMClientFactory.create(VersionDetectYarnAMClientFactory.java:61) > at > org.apache.twill.internal.appmaster.ApplicationMasterMain.doMain(ApplicationMasterMain.java:85) > at > org.apache.twill.internal.appmaster.ApplicationMasterMain.main(ApplicationMasterMain.java:71) > ... 5 more > Caused by: java.lang.reflect.InvocationTargetException > at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native > Method) > at > sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) > at > sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) > at java.lang.reflect.Constructor.newInstance(Constructor.java:423) > at > org.apache.twill.internal.yarn.VersionDetectYarnAMClientFactory.create(VersionDetectYarnAMClientFactory.java:58) > ... 7 more > Caused by: java.lang.IllegalArgumentException: Invalid ContainerId: > container_e164_1516738752188_0024_01_01 > at > org.apache.hadoop.yarn.util.ConverterUtils.toContainerId(ConverterUtils.java:182) > at > org.apache.twill.internal.yarn.AbstractYarnAMClient.(AbstractYarnAMClient.java:83) > at > org.apache.twill.internal.yarn.Hadoop21YarnAMClient.(Hadoop21YarnAMClient.java:65) > at > org.apache.twill.internal.yarn.Hadoop22YarnAMClient.(Hadoop22YarnAMClient.java:34) > ... 12 more > Caused by: java.lang.NumberFormatException: For input string: "e164" > at > java.lang.NumberFormatException.forInputString(NumberFormatException.java:65) > at java.lang.Long.parseLong(Long.java:589) > at java.lang.Long.parseLong(Long.java:631) > at > org.apache.hadoop.yarn.util.ConverterUtils.toApplicationAttemptId(ConverterUtils.java:137) > at > org.apache.hadoop.yarn.util.ConverterUtils.toContainerId(ConverterUtils.java:177) > ... 15 more > {code} > For reference, it looks like YARN-2182 appears in Hadoop 2.6 to have changed > container ID formats and a new API call came out > [{{ContainerId.fromString}}|https://hadoop.apache.org/docs/r2.6.0/api/org/apache/hadoop/yarn/api/records/ContainerId.html#fromString(java.lang.String)]. > Meanwhile, the container ID format change was not reflected, of course, in > older versions of Hadoop as clarified in YARN-3575. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[GitHub] twill pull request #65: (TWILL-254) Update to use ContainerId.fromString
Github user asfgit closed the pull request at: https://github.com/apache/twill/pull/65 ---
[jira] [Updated] (TWILL-254) Update to use ContainerId.fromString
[ https://issues.apache.org/jira/browse/TWILL-254?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Terence Yim updated TWILL-254: -- Fix Version/s: 0.13.0 > Update to use ContainerId.fromString > > > Key: TWILL-254 > URL: https://issues.apache.org/jira/browse/TWILL-254 > Project: Apache Twill > Issue Type: Bug > Components: yarn >Affects Versions: 0.12.0 >Reporter: Clay B. >Priority: Trivial > Fix For: 0.13.0 > > > Hello, trying to use 0.12 or master, I get the following on a Hortonworks > 2.6.1 (aka roughtly Hadoop 2.7.3) cluster. (One can avoid this by > specifically building for Hadoop 2.6+ via {{mvn package > -Dhadoop.version=2.6.0}} but I was being a bit slow to realize what was up,) > I have a patch to move us away from the deprecated (see YARN-1942) call in > the stack trace anyhow and provide Hadoop 2.6 as a supported profile. > {code:java} > Exception in thread "main" java.lang.reflect.InvocationTargetException > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:498) > at org.apache.twill.launcher.TwillLauncher.main(TwillLauncher.java:73) > Caused by: java.lang.RuntimeException: > java.lang.reflect.InvocationTargetException > at com.google.common.base.Throwables.propagate(Throwables.java:160) > at > org.apache.twill.internal.yarn.VersionDetectYarnAMClientFactory.create(VersionDetectYarnAMClientFactory.java:61) > at > org.apache.twill.internal.appmaster.ApplicationMasterMain.doMain(ApplicationMasterMain.java:85) > at > org.apache.twill.internal.appmaster.ApplicationMasterMain.main(ApplicationMasterMain.java:71) > ... 5 more > Caused by: java.lang.reflect.InvocationTargetException > at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native > Method) > at > sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) > at > sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) > at java.lang.reflect.Constructor.newInstance(Constructor.java:423) > at > org.apache.twill.internal.yarn.VersionDetectYarnAMClientFactory.create(VersionDetectYarnAMClientFactory.java:58) > ... 7 more > Caused by: java.lang.IllegalArgumentException: Invalid ContainerId: > container_e164_1516738752188_0024_01_01 > at > org.apache.hadoop.yarn.util.ConverterUtils.toContainerId(ConverterUtils.java:182) > at > org.apache.twill.internal.yarn.AbstractYarnAMClient.(AbstractYarnAMClient.java:83) > at > org.apache.twill.internal.yarn.Hadoop21YarnAMClient.(Hadoop21YarnAMClient.java:65) > at > org.apache.twill.internal.yarn.Hadoop22YarnAMClient.(Hadoop22YarnAMClient.java:34) > ... 12 more > Caused by: java.lang.NumberFormatException: For input string: "e164" > at > java.lang.NumberFormatException.forInputString(NumberFormatException.java:65) > at java.lang.Long.parseLong(Long.java:589) > at java.lang.Long.parseLong(Long.java:631) > at > org.apache.hadoop.yarn.util.ConverterUtils.toApplicationAttemptId(ConverterUtils.java:137) > at > org.apache.hadoop.yarn.util.ConverterUtils.toContainerId(ConverterUtils.java:177) > ... 15 more > {code} > For reference, it looks like YARN-2182 appears in Hadoop 2.6 to have changed > container ID formats and a new API call came out > [{{ContainerId.fromString}}|https://hadoop.apache.org/docs/r2.6.0/api/org/apache/hadoop/yarn/api/records/ContainerId.html#fromString(java.lang.String)]. > Meanwhile, the container ID format change was not reflected, of course, in > older versions of Hadoop as clarified in YARN-3575. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (TWILL-254) Update to use ContainerId.fromString
[ https://issues.apache.org/jira/browse/TWILL-254?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16353178#comment-16353178 ] ASF GitHub Bot commented on TWILL-254: -- Github user asfgit closed the pull request at: https://github.com/apache/twill/pull/65 > Update to use ContainerId.fromString > > > Key: TWILL-254 > URL: https://issues.apache.org/jira/browse/TWILL-254 > Project: Apache Twill > Issue Type: Bug > Components: yarn >Affects Versions: 0.12.0 >Reporter: Clay B. >Priority: Trivial > Fix For: 0.13.0 > > > Hello, trying to use 0.12 or master, I get the following on a Hortonworks > 2.6.1 (aka roughtly Hadoop 2.7.3) cluster. (One can avoid this by > specifically building for Hadoop 2.6+ via {{mvn package > -Dhadoop.version=2.6.0}} but I was being a bit slow to realize what was up,) > I have a patch to move us away from the deprecated (see YARN-1942) call in > the stack trace anyhow and provide Hadoop 2.6 as a supported profile. > {code:java} > Exception in thread "main" java.lang.reflect.InvocationTargetException > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:498) > at org.apache.twill.launcher.TwillLauncher.main(TwillLauncher.java:73) > Caused by: java.lang.RuntimeException: > java.lang.reflect.InvocationTargetException > at com.google.common.base.Throwables.propagate(Throwables.java:160) > at > org.apache.twill.internal.yarn.VersionDetectYarnAMClientFactory.create(VersionDetectYarnAMClientFactory.java:61) > at > org.apache.twill.internal.appmaster.ApplicationMasterMain.doMain(ApplicationMasterMain.java:85) > at > org.apache.twill.internal.appmaster.ApplicationMasterMain.main(ApplicationMasterMain.java:71) > ... 5 more > Caused by: java.lang.reflect.InvocationTargetException > at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native > Method) > at > sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) > at > sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) > at java.lang.reflect.Constructor.newInstance(Constructor.java:423) > at > org.apache.twill.internal.yarn.VersionDetectYarnAMClientFactory.create(VersionDetectYarnAMClientFactory.java:58) > ... 7 more > Caused by: java.lang.IllegalArgumentException: Invalid ContainerId: > container_e164_1516738752188_0024_01_01 > at > org.apache.hadoop.yarn.util.ConverterUtils.toContainerId(ConverterUtils.java:182) > at > org.apache.twill.internal.yarn.AbstractYarnAMClient.(AbstractYarnAMClient.java:83) > at > org.apache.twill.internal.yarn.Hadoop21YarnAMClient.(Hadoop21YarnAMClient.java:65) > at > org.apache.twill.internal.yarn.Hadoop22YarnAMClient.(Hadoop22YarnAMClient.java:34) > ... 12 more > Caused by: java.lang.NumberFormatException: For input string: "e164" > at > java.lang.NumberFormatException.forInputString(NumberFormatException.java:65) > at java.lang.Long.parseLong(Long.java:589) > at java.lang.Long.parseLong(Long.java:631) > at > org.apache.hadoop.yarn.util.ConverterUtils.toApplicationAttemptId(ConverterUtils.java:137) > at > org.apache.hadoop.yarn.util.ConverterUtils.toContainerId(ConverterUtils.java:177) > ... 15 more > {code} > For reference, it looks like YARN-2182 appears in Hadoop 2.6 to have changed > container ID formats and a new API call came out > [{{ContainerId.fromString}}|https://hadoop.apache.org/docs/r2.6.0/api/org/apache/hadoop/yarn/api/records/ContainerId.html#fromString(java.lang.String)]. > Meanwhile, the container ID format change was not reflected, of course, in > older versions of Hadoop as clarified in YARN-3575. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Assigned] (TWILL-254) Update to use ContainerId.fromString
[ https://issues.apache.org/jira/browse/TWILL-254?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Terence Yim reassigned TWILL-254: - Assignee: Clay B. > Update to use ContainerId.fromString > > > Key: TWILL-254 > URL: https://issues.apache.org/jira/browse/TWILL-254 > Project: Apache Twill > Issue Type: Bug > Components: yarn >Affects Versions: 0.12.0 >Reporter: Clay B. >Assignee: Clay B. >Priority: Trivial > Fix For: 0.13.0 > > > Hello, trying to use 0.12 or master, I get the following on a Hortonworks > 2.6.1 (aka roughtly Hadoop 2.7.3) cluster. (One can avoid this by > specifically building for Hadoop 2.6+ via {{mvn package > -Dhadoop.version=2.6.0}} but I was being a bit slow to realize what was up,) > I have a patch to move us away from the deprecated (see YARN-1942) call in > the stack trace anyhow and provide Hadoop 2.6 as a supported profile. > {code:java} > Exception in thread "main" java.lang.reflect.InvocationTargetException > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:498) > at org.apache.twill.launcher.TwillLauncher.main(TwillLauncher.java:73) > Caused by: java.lang.RuntimeException: > java.lang.reflect.InvocationTargetException > at com.google.common.base.Throwables.propagate(Throwables.java:160) > at > org.apache.twill.internal.yarn.VersionDetectYarnAMClientFactory.create(VersionDetectYarnAMClientFactory.java:61) > at > org.apache.twill.internal.appmaster.ApplicationMasterMain.doMain(ApplicationMasterMain.java:85) > at > org.apache.twill.internal.appmaster.ApplicationMasterMain.main(ApplicationMasterMain.java:71) > ... 5 more > Caused by: java.lang.reflect.InvocationTargetException > at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native > Method) > at > sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) > at > sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) > at java.lang.reflect.Constructor.newInstance(Constructor.java:423) > at > org.apache.twill.internal.yarn.VersionDetectYarnAMClientFactory.create(VersionDetectYarnAMClientFactory.java:58) > ... 7 more > Caused by: java.lang.IllegalArgumentException: Invalid ContainerId: > container_e164_1516738752188_0024_01_01 > at > org.apache.hadoop.yarn.util.ConverterUtils.toContainerId(ConverterUtils.java:182) > at > org.apache.twill.internal.yarn.AbstractYarnAMClient.(AbstractYarnAMClient.java:83) > at > org.apache.twill.internal.yarn.Hadoop21YarnAMClient.(Hadoop21YarnAMClient.java:65) > at > org.apache.twill.internal.yarn.Hadoop22YarnAMClient.(Hadoop22YarnAMClient.java:34) > ... 12 more > Caused by: java.lang.NumberFormatException: For input string: "e164" > at > java.lang.NumberFormatException.forInputString(NumberFormatException.java:65) > at java.lang.Long.parseLong(Long.java:589) > at java.lang.Long.parseLong(Long.java:631) > at > org.apache.hadoop.yarn.util.ConverterUtils.toApplicationAttemptId(ConverterUtils.java:137) > at > org.apache.hadoop.yarn.util.ConverterUtils.toContainerId(ConverterUtils.java:177) > ... 15 more > {code} > For reference, it looks like YARN-2182 appears in Hadoop 2.6 to have changed > container ID formats and a new API call came out > [{{ContainerId.fromString}}|https://hadoop.apache.org/docs/r2.6.0/api/org/apache/hadoop/yarn/api/records/ContainerId.html#fromString(java.lang.String)]. > Meanwhile, the container ID format change was not reflected, of course, in > older versions of Hadoop as clarified in YARN-3575. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Resolved] (TWILL-254) Update to use ContainerId.fromString
[ https://issues.apache.org/jira/browse/TWILL-254?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Terence Yim resolved TWILL-254. --- Resolution: Fixed Thanks for the patch. > Update to use ContainerId.fromString > > > Key: TWILL-254 > URL: https://issues.apache.org/jira/browse/TWILL-254 > Project: Apache Twill > Issue Type: Bug > Components: yarn >Affects Versions: 0.12.0 >Reporter: Clay B. >Assignee: Clay B. >Priority: Trivial > Fix For: 0.13.0 > > > Hello, trying to use 0.12 or master, I get the following on a Hortonworks > 2.6.1 (aka roughtly Hadoop 2.7.3) cluster. (One can avoid this by > specifically building for Hadoop 2.6+ via {{mvn package > -Dhadoop.version=2.6.0}} but I was being a bit slow to realize what was up,) > I have a patch to move us away from the deprecated (see YARN-1942) call in > the stack trace anyhow and provide Hadoop 2.6 as a supported profile. > {code:java} > Exception in thread "main" java.lang.reflect.InvocationTargetException > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:498) > at org.apache.twill.launcher.TwillLauncher.main(TwillLauncher.java:73) > Caused by: java.lang.RuntimeException: > java.lang.reflect.InvocationTargetException > at com.google.common.base.Throwables.propagate(Throwables.java:160) > at > org.apache.twill.internal.yarn.VersionDetectYarnAMClientFactory.create(VersionDetectYarnAMClientFactory.java:61) > at > org.apache.twill.internal.appmaster.ApplicationMasterMain.doMain(ApplicationMasterMain.java:85) > at > org.apache.twill.internal.appmaster.ApplicationMasterMain.main(ApplicationMasterMain.java:71) > ... 5 more > Caused by: java.lang.reflect.InvocationTargetException > at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native > Method) > at > sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) > at > sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) > at java.lang.reflect.Constructor.newInstance(Constructor.java:423) > at > org.apache.twill.internal.yarn.VersionDetectYarnAMClientFactory.create(VersionDetectYarnAMClientFactory.java:58) > ... 7 more > Caused by: java.lang.IllegalArgumentException: Invalid ContainerId: > container_e164_1516738752188_0024_01_01 > at > org.apache.hadoop.yarn.util.ConverterUtils.toContainerId(ConverterUtils.java:182) > at > org.apache.twill.internal.yarn.AbstractYarnAMClient.(AbstractYarnAMClient.java:83) > at > org.apache.twill.internal.yarn.Hadoop21YarnAMClient.(Hadoop21YarnAMClient.java:65) > at > org.apache.twill.internal.yarn.Hadoop22YarnAMClient.(Hadoop22YarnAMClient.java:34) > ... 12 more > Caused by: java.lang.NumberFormatException: For input string: "e164" > at > java.lang.NumberFormatException.forInputString(NumberFormatException.java:65) > at java.lang.Long.parseLong(Long.java:589) > at java.lang.Long.parseLong(Long.java:631) > at > org.apache.hadoop.yarn.util.ConverterUtils.toApplicationAttemptId(ConverterUtils.java:137) > at > org.apache.hadoop.yarn.util.ConverterUtils.toContainerId(ConverterUtils.java:177) > ... 15 more > {code} > For reference, it looks like YARN-2182 appears in Hadoop 2.6 to have changed > container ID formats and a new API call came out > [{{ContainerId.fromString}}|https://hadoop.apache.org/docs/r2.6.0/api/org/apache/hadoop/yarn/api/records/ContainerId.html#fromString(java.lang.String)]. > Meanwhile, the container ID format change was not reflected, of course, in > older versions of Hadoop as clarified in YARN-3575. -- This message was sent by Atlassian JIRA (v7.6.3#76005)