Hi,
I use the Hortonworks Sandbox 2.2.4 to bulid my development env.
I refer to the offical doc about development env and success in step(mvn clean 
install -DskipTests).
But, Failure in step(Run unit trests), include:
    mvn test -Dtest=org.apache.kylin.job.BuildCubeWithEngineTest 
-DfailIfNoTests=false -Dhdp.version=2.2 -P sandbox
    mvn test -Dtest=org.apache.kylin.job.BuildIIWithEngineTest 
-DfailIfNoTests=false -Dhdp.version=2.2 -P sandbox
The failure info is
    [INFO] 
------------------------------------------------------------------------
    [INFO] Reactor Summary:
    [INFO]
    [INFO] Kylin:HadoopOLAPEngine ............................. SUCCESS [  
4.458 s]
    [INFO] Kylin:AtopCalcite .................................. SUCCESS [  
5.050 s]
    [INFO] Kylin:Common ....................................... SUCCESS [ 
21.077 s]
    [INFO] Kylin:Metadata ..................................... SUCCESS [  
3.027 s]
    [INFO] Kylin:Dictionary ................................... SUCCESS [  
2.193 s]
    [INFO] Kylin:Cube ......................................... SUCCESS [  
6.438 s]
    [INFO] Kylin:InvertedIndex ................................ SUCCESS [  
0.966 s]
    [INFO] Kylin:Job .......................................... FAILURE [01:02 
min]
    [INFO] Kylin:Storage ...................................... SKIPPED
    [INFO] Kylin:Query ........................................ SKIPPED
    [INFO] Kylin:JDBC ......................................... SKIPPED
    [INFO] Kylin:RESTServer ................................... SKIPPED
    [INFO] Kylin:Monitor ...................................... SKIPPED
    [INFO] 
------------------------------------------------------------------------
    [INFO] BUILD FAILURE
    [INFO] 
------------------------------------------------------------------------
    [INFO] Total time: 01:48 min
    [INFO] Finished at: 2016-02-26T02:39:12+00:00
    [INFO] Final Memory: 40M/722M
    [INFO] 
------------------------------------------------------------------------
    [ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-surefire-plugin:2.16:test (default-test) on 
project kylin-job: There are test failures.
    [ERROR]
    [ERROR] Please refer to /root/kylin/job/../target/surefire-reports for the 
individual test results.
    [ERROR] -> [Help 1]
    [ERROR]
    [ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
switch.
    [ERROR] Re-run Maven using the -X switch to enable full debug logging.
    [ERROR]
    [ERROR] For more information about the errors and possible solutions, 
please read the following articles:
    [ERROR] [Help 1] 
http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
    [ERROR]
    [ERROR] After correcting the problems, you can resume the build with the 
command
    [ERROR]   mvn <goals> -rf :kylin-job
Therefore, I don't kown how fix it. I skip the step (Run unit trests) and go to 
next step (lunch Kylin Web Server).
There have a problem is that I can't lunch org.apache.kylin.rest.DebugTomcat . 
The error is "Selection does not contain a main type".

So, how to fix these problem and build development env about Kylin.

Thanks,
Yapu


Reply via email to