Cloudera CDH/CDP 및 Hadoop EcoSystem, Semantic IoT등의 개발/운영 기술을 정리합니다. gooper@gooper.com로 문의 주세요.
Cloudera CDH/CDP Cloudera설치중 실패로 여러번 설치하는 과정에 "Running in non-interactive mode, and data appears to exist in Storage Directory /dfs/nn. Not formatting." 오류가 발생시 조치하는 방법
Cloudera설치중 실패로 여러번 설치하는 과정에서 기존에 사용을 위해서 만들어둔 폴더들이 있어서 "Running in non-interactive mode, and data appears to exist in Storage Directory /dfs/nn. Not formatting."와 같은 오류가 발생하면서 설치가 되지 않으면 /dfs/nn를 삭제후 설치과정을 Resume하면 자동으로 생성하면서 설치가 정상적으로 진행된다.
18/03/29 11:11:01 INFO util.GSet: Computing capacity for map cachedBlocks
18/03/29 11:11:01 INFO util.GSet: VM type = 64-bit
18/03/29 11:11:01 INFO util.GSet: 0.25% max memory 678.6 MB = 1.7 MB
18/03/29 11:11:01 INFO util.GSet: capacity = 2^18 = 262144 entries
18/03/29 11:11:01 INFO namenode.FSNamesystem: dfs.namenode.safemode.threshold-pct = 0.9990000128746033
18/03/29 11:11:01 INFO namenode.FSNamesystem: dfs.namenode.safemode.min.datanodes = 1
18/03/29 11:11:01 INFO namenode.FSNamesystem: dfs.namenode.safemode.extension = 30000
18/03/29 11:11:01 INFO metrics.TopMetrics: NNTop conf: dfs.namenode.top.window.num.buckets = 10
18/03/29 11:11:01 INFO metrics.TopMetrics: NNTop conf: dfs.namenode.top.num.users = 10
18/03/29 11:11:01 INFO metrics.TopMetrics: NNTop conf: dfs.namenode.top.windows.minutes = 1,5,25
18/03/29 11:11:01 INFO namenode.FSNamesystem: Retry cache on namenode is enabled
18/03/29 11:11:01 INFO namenode.FSNamesystem: Retry cache will use 0.03 of total heap and retry cache entry expiry time is 600000 millis
18/03/29 11:11:01 INFO util.GSet: Computing capacity for map NameNodeRetryCache
18/03/29 11:11:01 INFO util.GSet: VM type = 64-bit
18/03/29 11:11:01 INFO util.GSet: 0.029999999329447746% max memory 678.6 MB = 208.5 KB
18/03/29 11:11:01 INFO util.GSet: capacity = 2^15 = 32768 entries
18/03/29 11:11:01 INFO namenode.FSNamesystem: ACLs enabled? false
18/03/29 11:11:01 INFO namenode.FSNamesystem: XAttrs enabled? true
18/03/29 11:11:01 INFO namenode.FSNamesystem: Maximum size of an xattr: 16384
Running in non-interactive mode, and data appears to exist in Storage Directory /dfs/nn. Not formatting.
18/03/29 11:11:01 INFO util.ExitUtil: Exiting with status 1
18/03/29 11:11:01 INFO namenode.NameNode: SHUTDOWN_MSG:
/************************************************************
SHUTDOWN_MSG: Shutting down NameNode at gsda1/XXX.XXX.XXX.XXX
************************************************************/