You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kylin.apache.org by hongbin ma <ma...@apache.org> on 2016/04/21 03:23:00 UTC

Re: UT fail on RangeKeyDistributionJobTest from local

btw, is it on the latest master branch?

please send kylin related issues to the dev list in the future.

On Thu, Apr 21, 2016 at 9:19 AM, hongbin ma <ma...@apache.org> wrote:

> looks like so
>
> I'm opening a jira to fix this. meanwhile can you just run complete UT at
> sandbox?
> thanks for spotting the issue.
>
> On Wed, Apr 20, 2016 at 9:58 PM, wangxianbin1987@gmail.com <
> wangxianbin1987@gmail.com> wrote:
>
>> hi hongbin!
>>
>> seem like you can't run UT on any machine, it need "
>> mapreduce.application.classpath" and hive and hbase dependency, detail
>> as follow:
>>
>>
>> 2016-04-20 12:02:29,074 INFO  [main] common.AbstractHadoopJob (AbstractHadoopJob.java:setJobClasspath(173)) - Didn't find mapreduce.application.classpath in job configuration, will run 'mapred classpath' to get the default value.
>> 'mapred' is not recognized as an internal or external command,
>> operable program or batch file.
>>
>> 2016-04-20 12:02:29,264 ERROR [main] common.AbstractHadoopJob (AbstractHadoopJob.java:getDefaultMapRedClasspath(361)) - Failed to run: 'mapred classpath'.
>> java.io.IOException: OS command error exit with 1 -- mapred classpath
>> 'mapred' is not recognized as an internal or external command,
>> operable program or batch file.
>>
>>
>> at org.apache.kylin.common.util.CliCommandExecutor.execute(CliCommandExecutor.java:94)
>>
>> at org.apache.kylin.common.util.CliCommandExecutor.execute(CliCommandExecutor.java:80)
>>
>> at org.apache.kylin.engine.mr.common.AbstractHadoopJob.getDefaultMapRedClasspath(AbstractHadoopJob.java:358)
>>
>> at org.apache.kylin.engine.mr.common.AbstractHadoopJob.setJobClasspath(AbstractHadoopJob.java:174)
>>
>> at org.apache.kylin.storage.hbase.steps.RangeKeyDistributionJob.run(RangeKeyDistributionJob.java:71)
>> at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)
>>
>> at org.apache.kylin.storage.hbase.steps.RangeKeyDistributionJobTest.testJob(RangeKeyDistributionJobTest.java:68)
>> 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:497)
>>
>> at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
>>
>> at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
>>
>> at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
>>
>> at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
>>
>> at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
>>
>> at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
>> at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
>>
>> at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
>>
>> at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
>> at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
>> at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
>> at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
>> at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
>> at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
>> at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
>> at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
>>
>> at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:78)
>>
>> at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:212)
>> at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:68)
>> 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:497)
>> at com.intellij.rt.execution.application.AppMain.main(AppMain.java:140)
>>
>> best regards!
>>
>> ------------------------------
>> wangxianbin1987@gmail.com
>>
>
>
>
> --
> Regards,
>
> *Bin Mahone | 马洪宾*
> Apache Kylin: http://kylin.io
> Github: https://github.com/binmahone
>



-- 
Regards,

*Bin Mahone | 马洪宾*
Apache Kylin: http://kylin.io
Github: https://github.com/binmahone