로드하는 응용 프로그램을 시작하면 new YarnConfiguration()
객체가 생성됩니다.Hadoop Configuration() 객체가 선택되지 않음 /etc/hadoop/conf/core-site.xml
구성 파일이있는 곳에서 HADOOP_CONF_DIR
을 /etc/hadoop/conf
으로 설정하고 있습니다.
그런 다음 응용 프로그램을 시작합니다.
yarn -jar jarname.jar --config.file config/local.properties
및 다음과 같은 오류가 발생합니다.
INFO: Connecting to ResourceManager at /0.0.0.0:8032 Jul 25, 2016 12:33:49 PM org.apache.hadoop.ipc.Client handleConnectionFailure INFO: Retrying connect to server: 0.0.0.0/0.0.0.0:8032. Already tried 0 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS)
는 그래서 다른 클라이언트에서 실행중인 실 자원 관리자의 세부 사항을 따기하지 않는 것.
yarn-site.xml
에는 올바른 값이 있습니다. 다른 사람이 같은 문제가 넣다이 자리에 나를 걸린 시간의 수치를 무시