[jira] [Commented] (YARN-465) fix coverage org.apache.hadoop.yarn.server.webproxy
[ https://issues.apache.org/jira/browse/YARN-465?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13598777#comment-13598777 ] Dennis Y commented on YARN-465: --- Patch contains new file hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/main/resources/webapps/proxy/.keep Which is ignored by patch tool. This is a know issue/feature of patch tool. What should we do in such cases to pass ASF verification process? Do you have some common practice for such cases? fix coverage org.apache.hadoop.yarn.server.webproxy Key: YARN-465 URL: https://issues.apache.org/jira/browse/YARN-465 Project: Hadoop YARN Issue Type: Test Affects Versions: 3.0.0, 0.23.7, 2.0.4-alpha Reporter: Aleksey Gorshkov Attachments: YARN-465-branch-0.23.patch, YARN-465-branch-2.patch, YARN-465-trunk.patch fix coverage org.apache.hadoop.yarn.server.webproxy patch YARN-465-trunk.patch for trunk patch YARN-465-branch-2.patch for branch-2 patch YARN-465-branch-0.23.patch for branch-0.23 There is issue in branch-0.23 . Patch does not creating .keep file. For fix it need to run commands: mkdir yhadoop-common/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/main/resources/webapps/proxy touch yhadoop-common/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/main/resources/webapps/proxy/.keep -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (YARN-223) Change processTree interface to work better with native code
[ https://issues.apache.org/jira/browse/YARN-223?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13536945#comment-13536945 ] Dennis Y commented on YARN-223: --- This patch breaks compilation of 'Apache Hadoop Gridmix' on branch-2. There is an import of org.apache.hadoop.yarn.util.ResourceCalculatorPlugin.ProcResourceValues which were removed by this patch. 2012-12-20 13:04:28.354 [INFO] 2012-12-20 13:04:28.356 [INFO] Building Apache Hadoop Gridmix 2.0.3-SNAPSHOT 2012-12-20 13:04:28.357 [INFO] 2012-12-20 13:04:28.423 [INFO] 2012-12-20 13:04:28.425 [INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ hadoop-gridmix --- 2012-12-20 13:04:28.426 [INFO] 2012-12-20 13:04:28.428 [INFO] --- maven-antrun-plugin:1.6:run (create-testdirs) @ hadoop-gridmix --- 2012-12-20 13:04:28.443 [INFO] Executing tasks 2012-12-20 13:04:28.444 2012-12-20 13:04:28.445 main: 2012-12-20 13:04:28.446 [mkdir] Created dir: /home/jenkins/jenkins/workspace/Hadoop-common-Integration-branch-2-gd/yhadoop-common/hadoop-tools/hadoop-gridmix/target/test-dir 2012-12-20 13:04:28.448 [INFO] Executed tasks 2012-12-20 13:04:28.450 [INFO] 2012-12-20 13:04:28.452 [INFO] --- maven-resources-plugin:2.2:resources (default-resources) @ hadoop-gridmix --- 2012-12-20 13:04:28.454 [INFO] Using default encoding to copy filtered resources. 2012-12-20 13:04:28.455 [INFO] 2012-12-20 13:04:28.457 [INFO] --- maven-compiler-plugin:2.5.1:compile (default-compile) @ hadoop-gridmix --- 2012-12-20 13:04:28.459 [INFO] Compiling 44 source files to /home/jenkins/jenkins/workspace/Hadoop-common-Integration-branch-2-gd/yhadoop-common/hadoop-tools/hadoop-gridmix/target/classes 2012-12-20 13:04:28.638 [INFO] 2012-12-20 13:04:28.640 [INFO] --- maven-resources-plugin:2.2:testResources (default-testResources) @ hadoop-gridmix --- 2012-12-20 13:04:28.642 [INFO] Using default encoding to copy filtered resources. 2012-12-20 13:04:28.643 [INFO] 2012-12-20 13:04:28.645 [INFO] --- maven-antrun-plugin:1.6:run (create-log-dir) @ hadoop-gridmix --- 2012-12-20 13:04:28.660 [INFO] Executing tasks 2012-12-20 13:04:28.661 2012-12-20 13:04:28.662 main: 2012-12-20 13:04:28.663[delete] Deleting directory /home/jenkins/jenkins/workspace/Hadoop-common-Integration-branch-2-gd/yhadoop-common/hadoop-tools/hadoop-gridmix/target/test-dir 2012-12-20 13:04:28.665 [mkdir] Created dir: /home/jenkins/jenkins/workspace/Hadoop-common-Integration-branch-2-gd/yhadoop-common/hadoop-tools/hadoop-gridmix/target/test-dir 2012-12-20 13:04:28.667 [mkdir] Created dir: /home/jenkins/jenkins/workspace/Hadoop-common-Integration-branch-2-gd/yhadoop-common/hadoop-tools/hadoop-gridmix/target/log 2012-12-20 13:04:28.669 [INFO] Executed tasks 2012-12-20 13:04:28.670 [INFO] 2012-12-20 13:04:28.672 [INFO] --- maven-compiler-plugin:2.5.1:testCompile (default-testCompile) @ hadoop-gridmix --- 2012-12-20 13:04:28.674 [INFO] Compiling 16 source files to /home/jenkins/jenkins/workspace/Hadoop-common-Integration-branch-2-gd/yhadoop-common/hadoop-tools/hadoop-gridmix/target/test-classes 2012-12-20 13:04:28.774 [INFO] - 2012-12-20 13:04:28.776 [ERROR] COMPILATION ERROR : 2012-12-20 13:04:28.778 [INFO] - 2012-12-20 13:04:28.780 [ERROR] /home/jenkins/jenkins/workspace/Hadoop-common-Integration-branch-2-gd/yhadoop-common/hadoop-tools/hadoop-gridmix/src/test/java/org/apache/hadoop/mapred/gridmix/TestResourceUsageEmulators.java:[35,59] cannot find symbol 2012-12-20 13:04:28.781 symbol : class ProcResourceValues 2012-12-20 13:04:28.782 location: class org.apache.hadoop.yarn.util.ResourceCalculatorPlugin 2012-12-20 13:04:28.784 [INFO] 1 error 2012-12-20 13:04:28.786 [INFO] - Change processTree interface to work better with native code Key: YARN-223 URL: https://issues.apache.org/jira/browse/YARN-223 Project: Hadoop YARN Issue Type: Bug Reporter: Radim Kolar Assignee: Radim Kolar Priority: Critical Fix For: 3.0.0, 2.0.3-alpha Attachments: pstree-update4.txt, pstree-update6.txt, pstree-update6.txt Problem is that on every update of processTree new object is required. This is undesired when working with processTree implementation in native code. replace ProcessTree.getProcessTree() with updateProcessTree(). No new object allocation is needed and it simplify application code a bit. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact
[jira] [Commented] (YARN-223) Change processTree interface to work better with native code
[ https://issues.apache.org/jira/browse/YARN-223?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13536969#comment-13536969 ] Dennis Y commented on YARN-223: --- I've created https://issues.apache.org/jira/browse/MAPREDUCE-4895 and submitted patch Change processTree interface to work better with native code Key: YARN-223 URL: https://issues.apache.org/jira/browse/YARN-223 Project: Hadoop YARN Issue Type: Bug Reporter: Radim Kolar Assignee: Radim Kolar Priority: Critical Fix For: 3.0.0, 2.0.3-alpha Attachments: pstree-update4.txt, pstree-update6.txt, pstree-update6.txt Problem is that on every update of processTree new object is required. This is undesired when working with processTree implementation in native code. replace ProcessTree.getProcessTree() with updateProcessTree(). No new object allocation is needed and it simplify application code a bit. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira