problem solved, i started kylin twice, the first time ,i forgot to stop it with "kylin.sh stop", and kylin started without errors, but when running job, it returns shell errors;
发件人: liangmeng 发送时间: 2015-08-19 12:51 收件人: dev 主题: kylin 1.0 snapshot error,getcwd error OS command error exit with 5 -- hive -e "USE default; DROP TABLE IF EXISTS kylin_intermediate_cb1_20150602000000_20150729000000_9ac668a9_8c8c_4151_a8fb_8f5b59570bf4; CREATE EXTERNAL TABLE IF NOT EXISTS kylin_intermediate_cb1_20150602000000_20150729000000_9ac668a9_8c8c_4151_a8fb_8f5b59570bf4 ( DEFAULT_D_MINUTE_5_DAY_ID int ,DEFAULT_D_MINUTE_5_HOUR_ID bigint ,DEFAULT_LTE_HTTP_S_ULDATA bigint ) ROW FORMAT DELIMITED FIELDS TERMINATED BY '\177' STORED AS SEQUENCEFILE LOCATION '/kylin/kylin_metadata/kylin-9ac668a9-8c8c-4151-a8fb-8f5b59570bf4/kylin_intermediate_cb1_20150602000000_20150729000000_9ac668a9_8c8c_4151_a8fb_8f5b59570bf4'; SET mapreduce.job.split.metainfo.maxsize=-1; SET mapreduce.job.max.split.locations=2000; SET dfs.replication=2; SET hive.exec.compress.output=true; SET hive.auto.convert.join.noconditionaltask = true; SET hive.auto.convert.join.noconditionaltask.size = 300000000; INSERT OVERWRITE TABLE kylin_intermediate_cb1_20150602000000_20150729000000_9ac668a9_8c8c_4151_a8fb_8f5b59570bf4 SELECT LOOKUP_1.DAY_ID ,LOOKUP_1.HOUR_ID ,FACT_TABLE.ULDATA FROM DEFAULT.LTE_HTTP_S as FACT_TABLE INNER JOIN DEFAULT.D_MINUTE_5 as LOOKUP_1 ON FACT_TABLE.SLICETIME = LOOKUP_1.MINUTE_5_ID WHERE (FACT_TABLE.CUBE_DATE >= '2015-06-02' AND FACT_TABLE.CUBE_DATE < '2015-07-29') ; " shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory chdir: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory chdir: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory chdir: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory chdir: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory chdir: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory chdir: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512m; support was removed in 8.0 Java HotSpot(TM) 64-Bit Server VM warning: Using the ParNew young collector with the Serial old collector is deprecated and will likely be removed in a future release Unable to determine Hadoop version information. 'hadoop version' returned: shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory chdir: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory chdir: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory chdir: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512m; support was removed in 8.0 Java HotSpot(TM) 64-Bit Server VM warning: Using the ParNew young collector with the Serial old collector is deprecated and will likely be removed in a future release Error occurred during initialization of VM java.lang.Error: Properties init: Could not determine current working directory. at java.lang.System.initProperties(Native Method) at java.lang.System.initializeSystemClass(System.java:1163) 梁猛 中国移动广东公司 网管维护中心 网管支撑室 电话:13802880779 邮箱: [email protected] ,[email protected] 地址:广东省广州市珠江新城珠江西路11号 广东全球通大厦北3楼 邮编:510623
