[ https://issues.apache.org/jira/browse/PHOENIX-1941?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14570064#comment-14570064 ]
Alicia Ying Shu commented on PHOENIX-1941: ------------------------------------------ OK. Add comments to address the effect of the changes. > Phoenix tests are failing in linux env with missing class: StaticMapping > ------------------------------------------------------------------------ > > Key: PHOENIX-1941 > URL: https://issues.apache.org/jira/browse/PHOENIX-1941 > Project: Phoenix > Issue Type: Bug > Reporter: Alicia Ying Shu > Assignee: Alicia Ying Shu > Attachments: Phoenix-1941-v1.patch, Phoenix-1941.patch > > > The exception is for the tests ( testWriteFailureDisablesLocalIndex, > testWriteFailureDisablesIndex, testWriteFailureWithRegionServerDown ) . This > is showing up on Unix machines. > {noformat} > beaver.machine|INFO|27671|140471806420736|MainThread|java.lang.NoClassDefFoundError: > org/apache/hadoop/net/StaticMapping > beaver.machine|INFO|27671|140471806420736|MainThread|at > org.apache.hadoop.hdfs.MiniDFSCluster.initMiniDFSCluster(MiniDFSCluster.java:784) > beaver.machine|INFO|27671|140471806420736|MainThread|at > org.apache.hadoop.hdfs.MiniDFSCluster.<init>(MiniDFSCluster.java:738) > beaver.machine|INFO|27671|140471806420736|MainThread|at > org.apache.hadoop.hbase.HBaseTestingUtility.startMiniDFSCluster(HBaseTestingUtility.java:521) > beaver.machine|INFO|27671|140471806420736|MainThread|at > org.apache.hadoop.hbase.HBaseTestingUtility.startMiniCluster(HBaseTestingUtility.java:850) > beaver.machine|INFO|27671|140471806420736|MainThread|at > org.apache.hadoop.hbase.HBaseTestingUtility.startMiniCluster(HBaseTestingUtility.java:775) > beaver.machine|INFO|27671|140471806420736|MainThread|at > org.apache.hadoop.hbase.HBaseTestingUtility.startMiniCluster(HBaseTestingUtility.java:746) > beaver.machine|INFO|27671|140471806420736|MainThread|at > org.apache.hadoop.hbase.HBaseTestingUtility.startMiniCluster(HBaseTestingUtility.java:715) > beaver.machine|INFO|27671|140471806420736|MainThread|at > org.apache.phoenix.end2end.index.IndexHandlerIT.setupCluster(IndexHandlerIT.java:115) > beaver.machine|INFO|27671|140471806420736|MainThread|at > sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > beaver.machine|INFO|27671|140471806420736|MainThread|at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) > beaver.machine|INFO|27671|140471806420736|MainThread|at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > beaver.machine|INFO|27671|140471806420736|MainThread|at > java.lang.reflect.Method.invoke(Method.java:606) > beaver.machine|INFO|27671|140471806420736|MainThread|at > org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47) > beaver.machine|INFO|27671|140471806420736|MainThread|at > org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) > beaver.machine|INFO|27671|140471806420736|MainThread|at > org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44) > beaver.machine|INFO|27671|140471806420736|MainThread|at > org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24) > beaver.machine|INFO|27671|140471806420736|MainThread|at > org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) > beaver.machine|INFO|27671|140471806420736|MainThread|at > org.junit.runners.ParentRunner.run(ParentRunner.java:309) > beaver.machine|INFO|27671|140471806420736|MainThread|at > org.junit.runners.Suite.runChild(Suite.java:127) > beaver.machine|INFO|27671|140471806420736|MainThread|at > org.junit.runners.Suite.runChild(Suite.java:26) > beaver.machine|INFO|27671|140471806420736|MainThread|at > org.junit.runners.ParentRunner$3.run(ParentRunner.java:238) > beaver.machine|INFO|27671|140471806420736|MainThread|at > org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63) > beaver.machine|INFO|27671|140471806420736|MainThread|at > org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236) > beaver.machine|INFO|27671|140471806420736|MainThread|at > org.junit.runners.ParentRunner.access$000(ParentRunner.java:53) > beaver.machine|INFO|27671|140471806420736|MainThread|at > org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229) > beaver.machine|INFO|27671|140471806420736|MainThread|at > org.junit.runners.ParentRunner.run(ParentRunner.java:309) > beaver.machine|INFO|27671|140471806420736|MainThread|at > org.junit.runner.JUnitCore.run(JUnitCore.java:160) > beaver.machine|INFO|27671|140471806420736|MainThread|at > org.junit.runner.JUnitCore.run(JUnitCore.java:138) > beaver.machine|INFO|27671|140471806420736|MainThread|at > org.junit.runner.JUnitCore.run(JUnitCore.java:117) > beaver.machine|INFO|27671|140471806420736|MainThread|at > org.apache.phoenix.end2end.End2EndTestDriver.doWork(End2EndTestDriver.java:190) > beaver.machine|INFO|27671|140471806420736|MainThread|at > org.apache.hadoop.hbase.util.AbstractHBaseTool.run(AbstractHBaseTool.java:112) > beaver.machine|INFO|27671|140471806420736|MainThread|at > org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70) > beaver.machine|INFO|27671|140471806420736|MainThread|at > org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:84) > beaver.machine|INFO|27671|140471806420736|MainThread|at > org.apache.phoenix.end2end.End2EndTestDriver.main(End2EndTestDriver.java:57) > beaver.machine|INFO|27671|140471806420736|MainThread|Caused by: > java.lang.ClassNotFoundException: org.apache.hadoop.net.StaticMapping > beaver.machine|INFO|27671|140471806420736|MainThread|at > java.net.URLClassLoader$1.run(URLClassLoader.java:366) > beaver.machine|INFO|27671|140471806420736|MainThread|at > java.net.URLClassLoader$1.run(URLClassLoader.java:355) > beaver.machine|INFO|27671|140471806420736|MainThread|at > java.security.AccessController.doPrivileged(Native Method) > beaver.machine|INFO|27671|140471806420736|MainThread|at > java.net.URLClassLoader.findClass(URLClassLoader.java:354) > beaver.machine|INFO|27671|140471806420736|MainThread|at > java.lang.ClassLoader.loadClass(ClassLoader.java:425) > beaver.machine|INFO|27671|140471806420736|MainThread|at > sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308) > beaver.machine|INFO|27671|140471806420736|MainThread|at > java.lang.ClassLoader.loadClass(ClassLoader.java:358) > beaver.machine|INFO|27671|140471806420736|MainThread|... 34 more > {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332)