Hi Pengwen, "Directly saving resource /java_pid23454.hprof "
Check whether you have put the hprof file in metadata directory by mistake; it shouldn't be a part of kylin metadata. 2016-11-22 14:22 GMT+08:00 [email protected] <[email protected]>: > hi all: > I restore kylin metastore > "bin/metastore.sh restore /usr/kylin/meta_backups/meta_restore/" > I get this error: > 2016-11-22 14:14:40,270 INFO [main-SendThread(CDHslave2: > 2181) ClientCnxn:975]: Opening socket connection to > server CDHslave2/192.168.*.*:2181. Will not attempt to > authenticate using SASL (unknown error) > 2016-11-22 14:14:40,282 INFO [main-SendThread(CDHslave2: > 2181) ClientCnxn:852]: Socket connection established, > initiating session, client: /192.168.*.*:33801, server: > CDHslave2/192.168.*.*:2181 > 2016-11-22 14:14:40,292 INFO [main-SendThread(CDHslave2: > 2181) ClientCnxn:1235]: Session establishment > complete on server CDHslave2/192.168.*.*:2181, sessionid = > 0x2586afc3d593bed, negotiated timeout = 60000 > 2016-11-22 14:14:41,565 DEBUG [main HBaseConnection:277]: > HTable 'kylin_metadata' already exists > 2016-11-22 14:14:41,566 DEBUG [main ResourceStore:207]: > Directly saving resource /java_pid23454.hprof (Store kylin_metadata@hbase) > java.lang.OutOfMemoryError: Java heap space > Dumping heap to java_pid53190.hprof ... > Heap dump file created [81869727 bytes in 5.327 secs] > # > # java.lang.OutOfMemoryError: Java heap space > # -XX:OnOutOfMemoryError="kill -9 %p" > # Executing /bin/sh -c "kill -9 53190"... > ../../bin/metastore.sh: 行 109: 53190 已杀死 ${ > KYLIN_HOME}/bin/kylin.sh org.apache.kylin.common.persistence.ResourceTool > upload $_file > > Is anyone met this problem ? > > ------------------------------ > 袁鹏文 Pengwen Yuan > -- Best regards, Shaofeng Shi 史少锋
