dttlgotv opened a new issue #3495: can not run on yarn of centos, but it can
run well on yarn of macos.
URL: https://github.com/apache/incubator-heron/issues/3495
1.cpu requirement: 1
2. mem requirement :1g
3. run well on local mode
I run an simple example well on macos to yarn? But when I submit it to yarn
on linux virtual machine, the error can be seen below:
driver.err is :
OpenJDK 64-Bit Server VM warning: ignoring option PermSize=128m; support was
removed in 8.0
OpenJDK 64-Bit Server VM warning: ignoring option MaxPermSize=128m; support
was removed in 8.0
Mar 21, 2020 12:51:39 PM org.apache.reef.runtime.common.REEFLauncher main
INFO: Entering REEFLauncher.main().
Mar 21, 2020 12:51:40 PM org.apache.reef.util.REEFVersion logVersion
INFO: REEF Version: 0.14.0
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in
[jar:file:/usr/local/hadoop/share/hadoop/common/lib/slf4j-log4j12-1.7.25.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in
[jar:file:/usr/local/hadoop/tmp/nm-local-dir/usercache/root/appcache/application_1584758298231_0004/filecache/10/reef-job-5801454919214133447.jar/global/heron-zookeeper-statemgr.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an
explanation.
SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory]
Mar 21, 2020 12:51:40 PM org.apache.reef.runtime.yarn.YarnClasspathProvider
SEVERE: YarnConfiguration.YARN_APPLICATION_CLASSPATH is empty. This
indicates a broken cluster configuration.
2020-03-21 12:51:41,222 WARN util.NativeCodeLoader: Unable to load
native-hadoop library for your platform... using builtin-java classes where
applicable
Mar 21, 2020 12:51:46 PM org.apache.hadoop.yarn.client.RMProxy
newProxyInstance
INFO: Connecting to ResourceManager at
tst-ofc-bj-smy-vmp1-kk01/10.0.15.131:8032
Mar 21, 2020 12:51:46 PM org.apache.hadoop.yarn.client.RMProxy
newProxyInstance
INFO: Connecting to ResourceManager at
tst-ofc-bj-smy-vmp1-kk01/10.0.15.131:8030
2020-03-21 12:51:46,628 INFO impl.NMClientAsyncImpl: Upper bound of the
thread pool size is 500
2020-03-21 12:51:47,100 INFO conf.Configuration: resource-types.xml not found
2020-03-21 12:51:47,101 INFO resource.ResourceUtils: Unable to find
'resource-types.xml'.
2020-03-21 12:51:47,495 INFO sasl.SaslDataTransferClient: SASL encryption
trust check: localHostTrusted = false, remoteHostTrusted = false
Mar 21, 2020 12:51:47 PM org.apache.heron.scheduler.yarn.HeronReefUtils
extractPackageInSandbox
INFO: Extracting package: reef/global/topology.tar.gz at: .
Mar 21, 2020 12:51:47 PM org.apache.heron.scheduler.yarn.HeronReefUtils
extractPackageInSandbox
INFO: Extracting package: reef/global/heron-core.tar.gz at: .
Mar 21, 2020 12:51:51 PM
org.apache.heron.scheduler.yarn.HeronMasterDriver$HeronSchedulerLauncher
launchScheduler
INFO: Launching Heron scheduler
2020-03-21 12:51:51,636 INFO imps.CuratorFrameworkImpl: Starting
2020-03-21 12:51:51,646 INFO zookeeper.ZooKeeper: Client
environment:zookeeper.version=3.4.13-2d71af4dbe22557fda74f9a9b4309b15a7487f03,
built on 06/29/2018 00:39 GMT
2020-03-21 12:51:51,646 INFO zookeeper.ZooKeeper: Client
environment:host.name=kk01
2020-03-21 12:51:51,647 INFO zookeeper.ZooKeeper: Client
environment:java.version=1.8.0_242
2020-03-21 12:51:51,647 INFO zookeeper.ZooKeeper: Client
environment:java.vendor=Oracle Corporation
2020-03-21 12:51:51,647 INFO zookeeper.ZooKeeper: Client
environment:java.home=/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.242.b08-0.el7_7.x86_64/jre
2020-03-21 12:51:51,647 INFO zookeeper.ZooKeeper: Client