HDP 2.1 was used for dev/testing in Kylin v0.6; Since v0.7, we upgraded to HDP 2.2 sandbox. Please try to use the new version if possible.
2015-12-03 18:42 GMT+08:00 Luke Han <[email protected]>: > Hi Sandeep, > Could you please try to download the binary package and deploy to your > env? > > you do not need to build from source. > > Thanks. > Luke > > > Best Regards! > --------------------- > > Luke Han > > On Thu, Dec 3, 2015 at 6:03 PM, Pranav Joshi <[email protected] > > > wrote: > > > Hi All, > > Please help: > > > > > > I am trying to setup kylin development environment in HDP 2.1, when i am > > trying to run the below command > > mvn test -Dtest=org.apache.kylin.job.BuildCubeWithEngineTest > > -DfailIfNoTests=false -Dhdp.version=2.1 -P sandbox > > > > I am getting the below error also attaching the main error log with the > > mail > > > > 2015-12-02 08:30:02,871 INFO [main] hive.metastore > > (HiveMetaStoreClient.java:open(319)) - Trying to connect to metastore > with > > URI thrift://sandbox.hortonworks.com:9083 > > 2015-12-02 08:30:02,876 INFO [main] hive.metastore > > (HiveMetaStoreClient.java:open(410)) - Connected to metastore. > > 2015-12-02 08:30:02,887 WARN [main] metastore.RetryingMetaStoreClient > > (RetryingMetaStoreClient.java:invoke(111)) - MetaStoreClient lost > > connection. Attempting to reconnect. > > org.apache.thrift.TApplicationException: Internal error processing > > get_open_txns > > > > 2015-12-02 08:31:54,169 INFO [Thread-0] > > client.HConnectionManager$HConnectionImplementation > > (HConnectionManager.java:closeMasterService(2178)) - Closing master > > protocol: MasterService > > 2015-12-02 08:31:54,172 INFO [Thread-0] > > client.HConnectionManager$HConnectionImplementation > > (HConnectionManager.java:closeZooKeeperWatcher(1835)) - Closing zookeeper > > sessionid=0x1515b71beab0048 > > 2015-12-02 08:31:54,197 INFO [main-EventThread] zookeeper.ClientCnxn > > (ClientCnxn.java:run(512)) - EventThread shut down > > 2015-12-02 08:31:54,198 INFO [Thread-0] zookeeper.ZooKeeper > > (ZooKeeper.java:close(684)) - Session: 0x1515b71beab0048 closed > > > > Results : > > > > Tests in error: > > BuildCubeWithEngineTest.test:127->testInner:132 ยป IO Failed to execute > > hql [CR... > > > > Tests run: 1, Failures: 0, Errors: 1, Skipped: 0 > > > > [INFO] > > ------------------------------------------------------------------------ > > [INFO] Reactor Summary: > > [INFO] > > [INFO] Kylin:HadoopOLAPEngine ............................. SUCCESS [ > > 3.402 s] > > [INFO] Kylin:AtopCalcite .................................. SUCCESS [ > > 4.072 s] > > [INFO] Kylin:Common ....................................... SUCCESS [ > > 14.271 s] > > [INFO] Kylin:Metadata ..................................... SUCCESS [ > > 3.010 s] > > [INFO] Kylin:Dictionary ................................... SUCCESS [ > > 1.219 s] > > [INFO] Kylin:Cube ......................................... SUCCESS [ > > 7.306 s] > > [INFO] Kylin:InvertedIndex ................................ SUCCESS [ > > 0.908 s] > > [INFO] Kylin:Job .......................................... FAILURE > [02:38 > > 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: 03:14 min > > [INFO] Finished at: 2015-12-02T08:31:55-08:00 > > [INFO] Final Memory: 47M/1355M > > [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/incubator-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 > > > > > > > > Tests run: 1, Failures: 1, Errors: 0, Skipped: 0 > > > > please help help me in fixing the issue > > thanks in advance > > sandeep s babu > > > > > > > > > > > -- Best regards, Shaofeng Shi
