java.lang.NullPointerException

JIRA | Adrian Bridgett | 12 months ago
  1. 0

    I had an 0.8.2 cluster and testing current master branch the tachyonmaster fails to start (logs below) Looks like it stops the metrics system (twice) and then receives an NPE in the webserver {code} 2015-12-18 17:23:10,726 WARN util.NativeCodeLoader (NativeCodeLoader.java:<clinit>) - Unable to load native-hadoop library for your platform... using builtin-java classes where applicable 2015-12-18 17:23:10,748 WARN shortcircuit.DomainSocketFactory (DomainSocketFactory.java:<init>) - The short-circuit local reads feature cannot be used because libhadoop cannot be loaded. 2015-12-18 17:23:10,976 INFO imps.CuratorFrameworkImpl (CuratorFrameworkImpl.java:start) - Starting 2015-12-18 17:23:10,984 INFO zookeeper.ZooKeeper (Environment.java:logEnv) - Client environment:zookeeper.version=3.4.5-1392090, built on 09/30/2012 17:52 GMT 2015-12-18 17:23:10,985 INFO zookeeper.ZooKeeper (Environment.java:logEnv) - Client environment:host.name=ip-10-1-201-132.ec2.internal 2015-12-18 17:23:10,985 INFO zookeeper.ZooKeeper (Environment.java:logEnv) - Client environment:java.version=1.8.0_51 2015-12-18 17:23:10,985 INFO zookeeper.ZooKeeper (Environment.java:logEnv) - Client environment:java.vendor=Oracle Corporation 2015-12-18 17:23:10,985 INFO zookeeper.ZooKeeper (Environment.java:logEnv) - Client environment:java.home=/usr/lib/jvm/jdk-8-oracle-x64/jre 2015-12-18 17:23:10,986 INFO zookeeper.ZooKeeper (Environment.java:logEnv) - Client environment:java.class.path=/tmp/mesos/slaves/f02cb67a-3519-4655-b23a-edc0dd082bf1-S3/frameworks/20150826-133446-3217621258-5050-4064-211132/executors/tachyon-master.000232a6-a5ac-11e5-9249-0e05bf2657ab/runs/7e54728d-466f-4e12-9a26-63b80f0783e2/tachyon/conf/:/tmp/mesos/slaves/f02cb67a-3519-4655-b23a-edc0dd082bf1-S3/frameworks/20150826-133446-3217621258-5050-4064-211132/executors/tachyon-master.000232a6-a5ac-11e5-9249-0e05bf2657ab/runs/7e54728d-466f-4e12-9a26-63b80f0783e2/tachyon/assembly/target/tachyon-assemblies-0.9.0-SNAPSHOT-jar-with-dependencies.jar:/opt/hadoop/etc/hadoop:/opt/hadoop/share/hadoop/common/lib/commons-math3-3.1.1.jar:/opt/hadoop/share/hadoop/common/lib/jetty-util-6.1.26.jar:/opt/hadoop/share/hadoop/common/lib/hadoop-auth-2.7.1.jar:/opt/hadoop/share/hadoop/common/lib/commons-httpclient-3.1.jar:/opt/hadoop/share/hadoop/common/lib/xz-1.0.jar:/opt/hadoop/share/hadoop/common/lib/stax-api-1.0-2.jar:/opt/hadoop/share/hadoop/common/lib/hadoop-annotations-2.7.1.jar:/opt/hadoop/share/hadoop/common/lib/protobuf-java-2.5.0.jar:/opt/hadoop/share/hadoop/common/lib/slf4j-api-1.7.10.jar:/opt/hadoop/share/hadoop/common/lib/hamcrest-core-1.3.jar:/opt/hadoop/share/hadoop/common/lib/jackson-core-asl-1.9.13.jar:/opt/hadoop/share/hadoop/common/lib/jaxb-api-2.2.2.jar:/opt/hadoop/share/hadoop/common/lib/avro-1.7.4.jar:/opt/hadoop/share/hadoop/common/lib/apacheds-kerberos-codec-2.0.0-M15.jar:/opt/hadoop/share/hadoop/common/lib/activation-1.1.jar:/opt/hadoop/share/hadoop/common/lib/jets3t-0.9.0.jar:/opt/hadoop/share/hadoop/common/lib/apacheds-i18n-2.0.0-M15.jar:/opt/hadoop/share/hadoop/common/lib/paranamer-2.3.jar:/opt/hadoop/share/hadoop/common/lib/htrace-core-3.1.0-incubating.jar:/opt/hadoop/share/hadoop/common/lib/jersey-server-1.9.jar:/opt/hadoop/share/hadoop/common/lib/jackson-jaxrs-1.9.13.jar:/opt/hadoop/share/hadoop/common/lib/jsp-api-2.1.jar:/opt/hadoop/share/hadoop/common/lib/httpclient-4.2.5.jar:/opt/hadoop/share/hadoop/common/lib/slf4j-log4j12-1.7.10.jar:/opt/hadoop/share/hadoop/common/lib/commons-cli-1.2.jar:/opt/hadoop/share/hadoop/common/lib/commons-codec-1.4.jar:/opt/hadoop/share/hadoop/common/lib/gson-2.2.4.jar:/opt/hadoop/share/hadoop/common/lib/commons-configuration-1.6.jar:/opt/hadoop/share/hadoop/common/lib/commons-net-3.1.jar:/opt/hadoop/share/hadoop/common/lib/commons-digester-1.8.jar:/opt/hadoop/share/hadoop/common/lib/api-asn1-api-1.0.0-M20.jar:/opt/hadoop/share/hadoop/common/lib/junit-4.11.jar:/opt/hadoop/share/hadoop/common/lib/commons-beanutils-core-1.8.0.jar:/opt/hadoop/share/hadoop/common/lib/jetty-6.1.26.jar:/opt/hadoop/share/hadoop/common/lib/commons-collections-3.2.1.jar:/opt/hadoop/share/hadoop/common/lib/log4j-1.2.17.jar:/opt/hadoop/share/hadoop/common/lib/curator-recipes-2.7.1.jar:/opt/hadoop/share/hadoop/common/lib/jsch-0.1.42.jar:/opt/hadoop/share/hadoop/common/lib/commons-lang-2.6.jar:/opt/hadoop/share/hadoop/common/lib/netty-3.6.2.Final.jar:/opt/hadoop/share/hadoop/common/lib/jackson-xc-1.9.13.jar:/opt/hadoop/share/hadoop/common/lib/commons-logging-1.1.3.jar:/opt/hadoop/share/hadoop/common/lib/servlet-api-2.5.jar:/opt/hadoop/share/hadoop/common/lib/java-xmlbuilder-0.4.jar:/opt/hadoop/share/hadoop/common/lib/guava-11.0.2.jar:/opt/hadoop/share/hadoop/common/lib/commons-io-2.4.jar:/opt/hadoop/share/hadoop/common/lib/jaxb-impl-2.2.3-1.jar:/opt/hadoop/share/hadoop/common/lib/curator-framework-2.7.1.jar:/opt/hadoop/share/hadoop/common/lib/commons-beanutils-1.7.0.jar:/opt/hadoop/share/hadoop/common/lib/jersey-json-1.9.jar:/opt/hadoop/share/hadoop/common/lib/jsr305-3.0.0.jar:/opt/hadoop/share/hadoop/common/lib/asm-3.2.jar:/opt/hadoop/share/hadoop/common/lib/api-util-1.0.0-M20.jar:/opt/hadoop/share/hadoop/common/lib/httpcore-4.2.5.jar:/opt/hadoop/share/hadoop/common/lib/xmlenc-0.52.jar:/opt/hadoop/share/hadoop/common/lib/commons-compress-1.4.1.jar:/opt/hadoop/share/hadoop/common/lib/jersey-core-1.9.jar:/opt/hadoop/share/hadoop/common/lib/jackson-mapper-asl-1.9.13.jar:/opt/hadoop/share/hadoop/common/lib/jettison-1.1.jar:/opt/hadoop/share/hadoop/common/lib/zookeeper-3.4.6.jar:/opt/hadoop/share/hadoop/common/lib/curator-client-2.7.1.jar:/opt/hadoop/share/hadoop/common/lib/mockito-all-1.8.5.jar:/opt/hadoop/share/hadoop/common/lib/snappy-java-1.0.4.1.jar:/opt/hadoop/share/hadoop/common/hadoop-common-2.7.1-tests.jar:/opt/hadoop/share/hadoop/common/hadoop-common-2.7.1.jar:/opt/hadoop/share/hadoop/common/hadoop-nfs-2.7.1.jar:/opt/hadoop/share/hadoop/hdfs:/opt/hadoop/share/hadoop/hdfs/lib/jetty-util-6.1.26.jar:/opt/hadoop/share/hadoop/hdfs/lib/netty-all-4.0.23.Final.jar:/opt/hadoop/share/hadoop/hdfs/lib/protobuf-java-2.5.0.jar:/opt/hadoop/share/hadoop/hdfs/lib/jackson-core-asl-1.9.13.jar:/opt/hadoop/share/hadoop/hdfs/lib/xml-apis-1.3.04.jar:/opt/hadoop/share/hadoop/hdfs/lib/xercesImpl-2.9.1.jar:/opt/hadoop/share/hadoop/hdfs/lib/htrace-core-3.1.0-incubating.jar:/opt/hadoop/share/hadoop/hdfs/lib/jersey-server-1.9.jar:/opt/hadoop/share/hadoop/hdfs/lib/commons-cli-1.2.jar:/opt/hadoop/share/hadoop/hdfs/lib/commons-codec-1.4.jar:/opt/hadoop/share/hadoop/hdfs/lib/jetty-6.1.26.jar:/opt/hadoop/share/hadoop/hdfs/lib/log4j-1.2.17.jar:/opt/hadoop/share/hadoop/hdfs/lib/commons-lang-2.6.jar:/opt/hadoop/share/hadoop/hdfs/lib/netty-3.6.2.Final.jar:/opt/hadoop/share/hadoop/hdfs/lib/commons-logging-1.1.3.jar:/opt/hadoop/share/hadoop/hdfs/lib/servlet-api-2.5.jar:/opt/hadoop/share/hadoop/hdfs/lib/guava-11.0.2.jar:/opt/hadoop/share/hadoop/hdfs/lib/commons-io-2.4.jar:/opt/hadoop/share/hadoop/hdfs/lib/commons-daemon-1.0.13.jar:/opt/hadoop/share/hadoop/hdfs/lib/jsr305-3.0.0.jar:/opt/hadoop/share/hadoop/hdfs/lib/asm-3.2.jar:/opt/hadoop/share/hadoop/hdfs/lib/leveldbjni-all-1.8.jar:/opt/hadoop/share/hadoop/hdfs/lib/xmlenc-0.52.jar:/opt/hadoop/share/hadoop/hdfs/lib/jersey-core-1.9.jar:/opt/hadoop/share/hadoop/hdfs/lib/jackson-mapper-asl-1.9.13.jar:/opt/hadoop/share/hadoop/hdfs/hadoop-hdfs-2.7.1-tests.jar:/opt/hadoop/share/hadoop/hdfs/hadoop-hdfs-2.7.1.jar:/opt/hadoop/share/hadoop/hdfs/hadoop-hdfs-nfs-2.7.1.jar:/opt/hadoop/share/hadoop/yarn/lib/jetty-util-6.1.26.jar:/opt/hadoop/share/hadoop/yarn/lib/xz-1.0.jar:/opt/hadoop/share/hadoop/yarn/lib/jersey-guice-1.9.jar:/opt/hadoop/share/hadoop/yarn/lib/stax-api-1.0-2.jar:/opt/hadoop/share/hadoop/yarn/lib/protobuf-java-2.5.0.jar:/opt/hadoop/share/hadoop/yarn/lib/jackson-core-asl-1.9.13.jar:/opt/hadoop/share/hadoop/yarn/lib/jaxb-api-2.2.2.jar:/opt/hadoop/share/hadoop/yarn/lib/activation-1.1.jar:/opt/hadoop/share/hadoop/yarn/lib/jersey-server-1.9.jar:/opt/hadoop/share/hadoop/yarn/lib/jackson-jaxrs-1.9.13.jar:/opt/hadoop/share/hadoop/yarn/lib/aopalliance-1.0.jar:/opt/hadoop/share/hadoop/yarn/lib/commons-cli-1.2.jar:/opt/hadoop/share/hadoop/yarn/lib/commons-codec-1.4.jar:/opt/hadoop/share/hadoop/yarn/lib/jetty-6.1.26.jar:/opt/hadoop/share/hadoop/yarn/lib/guice-servlet-3.0.jar:/opt/hadoop/share/hadoop/yarn/lib/commons-collections-3.2.1.jar:/opt/hadoop/share/hadoop/yarn/lib/log4j-1.2.17.jar:/opt/hadoop/share/hadoop/yarn/lib/commons-lang-2.6.jar:/opt/hadoop/share/hadoop/yarn/lib/netty-3.6.2.Final.jar:/opt/hadoop/share/hadoop/yarn/lib/jackson-xc-1.9.13.jar:/opt/hadoop/share/hadoop/yarn/lib/commons-logging-1.1.3.jar:/opt/hadoop/share/hadoop/yarn/lib/servlet-api-2.5.jar:/opt/hadoop/share/hadoop/yarn/lib/jersey-client-1.9.jar:/opt/hadoop/share/hadoop/yarn/lib/guava-11.0.2.jar:/opt/hadoop/share/hadoop/yarn/lib/commons-io-2.4.jar:/opt/hadoop/share/hadoop/yarn/lib/jaxb-impl-2.2.3-1.jar:/opt/hadoop/share/hadoop/yarn/lib/jersey-json-1.9.jar:/opt/hadoop/share/hadoop/yarn/lib/jsr305-3.0.0.jar:/opt/hadoop/share/hadoop/yarn/lib/asm-3.2.jar:/opt/hadoop/share/hadoop/yarn/lib/leveldbjni-all-1.8.jar:/opt/hadoop/share/hadoop/yarn/lib/guice-3.0.jar:/opt/hadoop/share/hadoop/yarn/lib/commons-compress-1.4.1.jar:/opt/hadoop/share/hadoop/yarn/lib/zookeeper-3.4.6-tests.jar:/opt/hadoop/share/hadoop/yarn/lib/javax.inject-1.jar:/opt/hadoop/share/hadoop/yarn/lib/jersey-core-1.9.jar:/opt/hadoop/share/hadoop/yarn/lib/jackson-mapper-asl-1.9.13.jar:/opt/hadoop/share/hadoop/yarn/lib/jettison-1.1.jar:/opt/hadoop/share/hadoop/yarn/lib/zookeeper-3.4.6.jar:/opt/hadoop/share/hadoop/yarn/hadoop-yarn-server-resourcemanager-2.7.1.jar:/opt/hadoop/share/hadoop/yarn/hadoop-yarn-applications-unmanaged-am-launcher-2.7.1.jar:/opt/hadoop/share/hadoop/yarn/hadoop-yarn-applications-distributedshell-2.7.1.jar:/opt/hadoop/share/hadoop/yarn/hadoop-yarn-server-tests-2.7.1.jar:/opt/hadoop/share/hadoop/yarn/hadoop-yarn-api-2.7.1.jar:/opt/hadoop/share/hadoop/yarn/hadoop-yarn-server-common-2.7.1.jar:/opt/hadoop/share/hadoop/yarn/hadoop-yarn-server-applicationhistoryservice-2.7.1.jar:/opt/hadoop/share/hadoop/yarn/hadoop-yarn-server-sharedcachemanager-2.7.1.jar:/opt/hadoop/share/hadoop/yarn/hadoop-yarn-server-web-proxy-2.7.1.jar:/opt/hadoop/share/hadoop/yarn/hadoop-yarn-common-2.7.1.jar:/opt/hadoop/share/hadoop/yarn/hadoop-yarn-client-2.7.1.jar:/opt/hadoop/share/hadoop/yarn/hadoop-yarn-registry-2.7.1.jar:/opt/hadoop/share/hadoop/yarn/hadoop-yarn-server-nodemanager-2.7.1.jar:/opt/hadoop/share/hadoop/mapreduce/lib/xz-1.0.jar:/opt/hadoop/share/hadoop/mapreduce/lib/jersey-guice-1.9.jar:/opt/hadoop/share/hadoop/mapreduce/lib/hadoop-annotations-2.7.1.jar:/opt/hadoop/share/hadoop/mapreduce/lib/protobuf-java-2.5.0.jar:/opt/hadoop/share/hadoop/mapreduce/lib/hamcrest-core-1.3.jar:/opt/hadoop/share/hadoop/mapreduce/lib/jackson-core-asl-1.9.13.jar:/opt/hadoop/share/hadoop/mapreduce/lib/avro-1.7.4.jar:/opt/hadoop/share/hadoop/mapreduce/lib/paranamer-2.3.jar:/opt/hadoop/share/hadoop/mapreduce/lib/jersey-server-1.9.jar:/opt/hadoop/share/hadoop/mapreduce/lib/aopalliance-1.0.jar:/opt/hadoop/share/hadoop/mapreduce/lib/junit-4.11.jar:/opt/hadoop/share/hadoop/mapreduce/lib/guice-servlet-3.0.jar:/opt/hadoop/share/hadoop/mapreduce/lib/log4j-1.2.17.jar:/opt/hadoop/share/hadoop/mapreduce/lib/netty-3.6.2.Final.jar:/opt/hadoop/share/hadoop/mapreduce/lib/commons-io-2.4.jar:/opt/hadoop/share/hadoop/mapreduce/lib/asm-3.2.jar:/opt/hadoop/share/hadoop/mapreduce/lib/leveldbjni-all-1.8.jar:/opt/hadoop/share/hadoop/mapreduce/lib/guice-3.0.jar:/opt/hadoop/share/hadoop/mapreduce/lib/commons-compress-1.4.1.jar:/opt/hadoop/share/hadoop/mapreduce/lib/javax.inject-1.jar:/opt/hadoop/share/hadoop/mapreduce/lib/jersey-core-1.9.jar:/opt/hadoop/share/hadoop/mapreduce/lib/jackson-mapper-asl-1.9.13.jar:/opt/hadoop/share/hadoop/mapreduce/lib/snappy-java-1.0.4.1.jar:/opt/hadoop/share/hadoop/mapreduce/hadoop-mapreduce-client-app-2.7.1.jar:/opt/hadoop/share/hadoop/mapreduce/hadoop-mapreduce-examples-2.7.1.jar:/opt/hadoop/share/hadoop/mapreduce/hadoop-mapreduce-client-jobclient-2.7.1-tests.jar:/opt/hadoop/share/hadoop/mapreduce/hadoop-mapreduce-client-hs-2.7.1.jar:/opt/hadoop/share/hadoop/mapreduce/hadoop-mapreduce-client-common-2.7.1.jar:/opt/hadoop/share/hadoop/mapreduce/hadoop-mapreduce-client-hs-plugins-2.7.1.jar:/opt/hadoop/share/hadoop/mapreduce/hadoop-mapreduce-client-shuffle-2.7.1.jar:/opt/hadoop/share/hadoop/mapreduce/hadoop-mapreduce-client-core-2.7.1.jar:/opt/hadoop/share/hadoop/mapreduce/hadoop-mapreduce-client-jobclient-2.7.1.jar:/contrib/capacity-scheduler/*.jar 2015-12-18 17:23:10,987 INFO zookeeper.ZooKeeper (Environment.java:logEnv) - Client environment:java.library.path=/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib 2015-12-18 17:23:10,987 INFO zookeeper.ZooKeeper (Environment.java:logEnv) - Client environment:java.io.tmpdir=/tmp 2015-12-18 17:23:10,987 INFO zookeeper.ZooKeeper (Environment.java:logEnv) - Client environment:java.compiler=<NA> 2015-12-18 17:23:10,987 INFO zookeeper.ZooKeeper (Environment.java:logEnv) - Client environment:os.name=Linux 2015-12-18 17:23:10,988 INFO zookeeper.ZooKeeper (Environment.java:logEnv) - Client environment:os.arch=amd64 2015-12-18 17:23:10,988 INFO zookeeper.ZooKeeper (Environment.java:logEnv) - Client environment:os.version=3.13.0-68-generic 2015-12-18 17:23:10,988 INFO zookeeper.ZooKeeper (Environment.java:logEnv) - Client environment:user.name=marathon 2015-12-18 17:23:10,989 INFO zookeeper.ZooKeeper (Environment.java:logEnv) - Client environment:user.home=/var/lib/marathon 2015-12-18 17:23:10,989 INFO zookeeper.ZooKeeper (Environment.java:logEnv) - Client environment:user.dir=/tmp/mesos/slaves/f02cb67a-3519-4655-b23a-edc0dd082bf1-S3/frameworks/20150826-133446-3217621258-5050-4064-211132/executors/tachyon-master.000232a6-a5ac-11e5-9249-0e05bf2657ab/runs/7e54728d-466f-4e12-9a26-63b80f0783e2 2015-12-18 17:23:10,990 INFO zookeeper.ZooKeeper (ZooKeeper.java:<init>) - Initiating client connection, connectString=mesos-1.opnsgnl.net:2181,mesos-2.opnsgnl.net:2181,mesos-3.opnsgnl.net:2181 sessionTimeout=60000 watcher=org.apache.curator.ConnectionState@5aac4250 2015-12-18 17:23:11,008 INFO zookeeper.ClientCnxn (ClientCnxn.java:logStartConnect) - Opening socket connection to server ip-10-1-200-165.ec2.internal/10.1.200.165:2181. Will not attempt to authenticate using SASL (unknown error) 2015-12-18 17:23:11,010 INFO zookeeper.ClientCnxn (ClientCnxn.java:primeConnection) - Socket connection established to ip-10-1-200-165.ec2.internal/10.1.200.165:2181, initiating session 2015-12-18 17:23:11,017 INFO zookeeper.ClientCnxn (ClientCnxn.java:onConnected) - Session establishment complete on server ip-10-1-200-165.ec2.internal/10.1.200.165:2181, sessionid = 0x2512ba03ee19846, negotiated timeout = 40000 2015-12-18 17:23:11,019 INFO zookeeper.ZooKeeper (ZooKeeper.java:close) - Session: 0x2512ba03ee19846 closed 2015-12-18 17:23:11,019 INFO zookeeper.ClientCnxn (ClientCnxn.java:run) - EventThread shut down 2015-12-18 17:23:11,019 INFO imps.CuratorFrameworkImpl (CuratorFrameworkImpl.java:start) - Starting 2015-12-18 17:23:11,020 INFO zookeeper.ZooKeeper (ZooKeeper.java:<init>) - Initiating client connection, connectString=mesos-1.opnsgnl.net:2181,mesos-2.opnsgnl.net:2181,mesos-3.opnsgnl.net:2181 sessionTimeout=60000 watcher=org.apache.curator.ConnectionState@158a3b2e 2015-12-18 17:23:11,023 INFO zookeeper.ClientCnxn (ClientCnxn.java:logStartConnect) - Opening socket connection to server ip-10-1-201-191.ec2.internal/10.1.201.191:2181. Will not attempt to authenticate using SASL (unknown error) 2015-12-18 17:23:11,023 INFO zookeeper.ClientCnxn (ClientCnxn.java:primeConnection) - Socket connection established to ip-10-1-201-191.ec2.internal/10.1.201.191:2181, initiating session 2015-12-18 17:23:11,025 WARN MASTER_LOGGER (MetricsSystem.java:stop) - Stopping a MetricsSystem that is not running 2015-12-18 17:23:11,025 INFO zookeeper.ClientCnxn (ClientCnxn.java:onConnected) - Session establishment complete on server ip-10-1-201-191.ec2.internal/10.1.201.191:2181, sessionid = 0x3512ba03deb9911, negotiated timeout = 40000 2015-12-18 17:23:11,026 INFO MASTER_LOGGER (MasterBase.java:stop) - BlockMaster: Stopping standby master. 2015-12-18 17:23:11,026 INFO MASTER_LOGGER (MasterBase.java:stop) - FileSystemMaster: Stopping standby master. 2015-12-18 17:23:11,026 INFO MASTER_LOGGER (MasterBase.java:stop) - RawTableMaster: Stopping standby master. 2015-12-18 17:23:11,027 INFO state.ConnectionStateManager (ConnectionStateManager.java:addStateChange) - State change: CONNECTED 2015-12-18 17:23:11,099 INFO MASTER_LOGGER (LeaderSelectorClient.java:stateChanged) - The current leader is 2015-12-18 17:23:11,100 INFO MASTER_LOGGER (LeaderSelectorClient.java:takeLeadership) - deleting zk path: /tachyon/leader/ip-10-1-201-132.ec2.internal:19998 2015-12-18 17:23:11,104 INFO MASTER_LOGGER (LeaderSelectorClient.java:takeLeadership) - creating zk path: /tachyon/leader/ip-10-1-201-132.ec2.internal:19998 2015-12-18 17:23:11,106 INFO MASTER_LOGGER (LeaderSelectorClient.java:takeLeadership) - ip-10-1-201-132.ec2.internal:19998 is now the leader. 2015-12-18 17:23:11,136 INFO MASTER_LOGGER (MasterBase.java:start) - BlockMaster: Starting standby master. 2015-12-18 17:23:11,137 INFO MASTER_LOGGER (JournalTailerThread.java:run) - BlockMaster: Journal tailer started. 2015-12-18 17:23:11,137 INFO MASTER_LOGGER (JournalTailerThread.java:run) - BlockMaster: Waiting to load the checkpoint file. 2015-12-18 17:23:11,143 INFO MASTER_LOGGER (MasterBase.java:start) - FileSystemMaster: Starting standby master. 2015-12-18 17:23:11,143 INFO MASTER_LOGGER (MasterBase.java:start) - RawTableMaster: Starting standby master. 2015-12-18 17:23:11,143 INFO MASTER_LOGGER (JournalTailerThread.java:run) - FileSystemMaster: Journal tailer started. 2015-12-18 17:23:11,143 INFO MASTER_LOGGER (JournalTailerThread.java:run) - FileSystemMaster: Waiting to load the checkpoint file. 2015-12-18 17:23:11,143 INFO MASTER_LOGGER (JournalTailerThread.java:run) - RawTableMaster: Journal tailer started. 2015-12-18 17:23:11,144 INFO MASTER_LOGGER (JournalTailerThread.java:run) - BlockMaster: Start loading the checkpoint file. 2015-12-18 17:23:11,144 INFO MASTER_LOGGER (JournalTailerThread.java:run) - RawTableMaster: Waiting to load the checkpoint file. 2015-12-18 17:23:11,144 INFO MASTER_LOGGER (JournalTailer.java:processJournalCheckpoint) - BlockMaster: Loading checkpoint file: hdfs://nameservice1/tachyon/journal/BlockMaster/checkpoint.data 2015-12-18 17:23:11,148 INFO MASTER_LOGGER (JournalReader.java:getCheckpointInputStream) - Opening journal checkpoint file: hdfs://nameservice1/tachyon/journal/BlockMaster/checkpoint.data 2015-12-18 17:23:11,149 INFO MASTER_LOGGER (JournalTailerThread.java:run) - FileSystemMaster: Start loading the checkpoint file. 2015-12-18 17:23:11,149 INFO MASTER_LOGGER (JournalTailer.java:processJournalCheckpoint) - FileSystemMaster: Loading checkpoint file: hdfs://nameservice1/tachyon/journal/FileSystemMaster/checkpoint.data 2015-12-18 17:23:11,149 INFO MASTER_LOGGER (JournalTailerThread.java:run) - RawTableMaster: Start loading the checkpoint file. 2015-12-18 17:23:11,149 INFO MASTER_LOGGER (JournalTailer.java:processJournalCheckpoint) - RawTableMaster: Loading checkpoint file: hdfs://nameservice1/tachyon/journal/RawTableMaster/checkpoint.data 2015-12-18 17:23:11,154 INFO MASTER_LOGGER (JournalReader.java:getCheckpointInputStream) - Opening journal checkpoint file: hdfs://nameservice1/tachyon/journal/FileSystemMaster/checkpoint.data 2015-12-18 17:23:11,155 INFO MASTER_LOGGER (JournalReader.java:getCheckpointInputStream) - Opening journal checkpoint file: hdfs://nameservice1/tachyon/journal/RawTableMaster/checkpoint.data 2015-12-18 17:23:11,170 INFO MASTER_LOGGER (JournalTailerThread.java:run) - RawTableMaster: Checkpoint file has been loaded. 2015-12-18 17:23:11,226 INFO MASTER_LOGGER (JournalTailerThread.java:run) - BlockMaster: Checkpoint file has been loaded. 2015-12-18 17:23:11,232 INFO MASTER_LOGGER (JournalTailerThread.java:run) - FileSystemMaster: Checkpoint file has been loaded. 2015-12-18 17:23:11,243 WARN MASTER_LOGGER (MetricsSystem.java:stop) - Stopping a MetricsSystem that is not running 2015-12-18 17:23:11,244 INFO MASTER_LOGGER (MasterBase.java:stop) - BlockMaster: Stopping standby master. 2015-12-18 17:23:11,244 INFO MASTER_LOGGER (JournalTailerThread.java:shutdown) - BlockMaster: Journal tailer shutdown has been initiated. 2015-12-18 17:23:17,264 INFO MASTER_LOGGER (JournalTailerThread.java:run) - BlockMaster: Journal tailer has been shutdown. No new logs for the quiet period. 2015-12-18 17:23:17,265 INFO MASTER_LOGGER (MasterBase.java:stop) - FileSystemMaster: Stopping standby master. 2015-12-18 17:23:17,265 INFO MASTER_LOGGER (JournalTailerThread.java:shutdown) - FileSystemMaster: Journal tailer shutdown has been initiated. 2015-12-18 17:23:22,292 INFO MASTER_LOGGER (JournalTailerThread.java:run) - FileSystemMaster: Journal tailer has been shutdown. No new logs for the quiet period. 2015-12-18 17:23:22,292 INFO MASTER_LOGGER (MasterBase.java:stop) - RawTableMaster: Stopping standby master. 2015-12-18 17:23:22,292 INFO MASTER_LOGGER (JournalTailerThread.java:shutdown) - RawTableMaster: Journal tailer shutdown has been initiated. 2015-12-18 17:23:28,272 INFO MASTER_LOGGER (JournalTailerThread.java:run) - RawTableMaster: Journal tailer has been shutdown. No new logs for the quiet period. 2015-12-18 17:23:28,273 INFO MASTER_LOGGER (MasterBase.java:start) - BlockMaster: Starting leader master. 2015-12-18 17:23:28,274 INFO MASTER_LOGGER (JournalWriter.java:completeAllLogs) - Marking all logs as complete. 2015-12-18 17:23:28,277 INFO MASTER_LOGGER (MasterBase.java:start) - BlockMaster: finish processing remaining journal entries (standby -> master). 2015-12-18 17:23:28,281 INFO MASTER_LOGGER (JournalWriter.java:getCheckpointOutputStream) - Creating tmp checkpoint file: hdfs://nameservice1/tachyon/journal/BlockMaster/checkpoint.data.tmp 2015-12-18 17:23:28,283 INFO MASTER_LOGGER (JournalWriter.java:getCheckpointOutputStream) - Latest journal sequence number: 22 Next journal sequence number: 23 2015-12-18 17:23:28,403 INFO MASTER_LOGGER (JournalWriter.java:close) - Successfully created tmp checkpoint file: hdfs://nameservice1/tachyon/journal/BlockMaster/checkpoint.data.tmp 2015-12-18 17:23:28,418 INFO MASTER_LOGGER (JournalWriter.java:close) - Renamed checkpoint file hdfs://nameservice1/tachyon/journal/BlockMaster/checkpoint.data.tmp to hdfs://nameservice1/tachyon/journal/BlockMaster/checkpoint.data 2015-12-18 17:23:28,418 INFO MASTER_LOGGER (JournalWriter.java:deleteCompletedLogs) - Deleting all completed log files... 2015-12-18 17:23:28,419 INFO MASTER_LOGGER (JournalWriter.java:deleteCompletedLogs) - Finished deleting all completed log files. 2015-12-18 17:23:28,424 INFO MASTER_LOGGER (MountTable.java:add) - Mounting hdfs://nameservice1 at / 2015-12-18 17:23:28,424 INFO MASTER_LOGGER (MasterBase.java:start) - FileSystemMaster: Starting leader master. 2015-12-18 17:23:28,424 INFO MASTER_LOGGER (JournalWriter.java:completeAllLogs) - Marking all logs as complete. 2015-12-18 17:23:28,427 INFO MASTER_LOGGER (MasterBase.java:start) - FileSystemMaster: finish processing remaining journal entries (standby -> master). 2015-12-18 17:23:28,432 INFO MASTER_LOGGER (JournalWriter.java:getCheckpointOutputStream) - Creating tmp checkpoint file: hdfs://nameservice1/tachyon/journal/FileSystemMaster/checkpoint.data.tmp 2015-12-18 17:23:28,433 INFO MASTER_LOGGER (JournalWriter.java:getCheckpointOutputStream) - Latest journal sequence number: 42 Next journal sequence number: 43 2015-12-18 17:23:28,459 INFO MASTER_LOGGER (JournalWriter.java:close) - Successfully created tmp checkpoint file: hdfs://nameservice1/tachyon/journal/FileSystemMaster/checkpoint.data.tmp 2015-12-18 17:23:28,469 INFO MASTER_LOGGER (JournalWriter.java:close) - Renamed checkpoint file hdfs://nameservice1/tachyon/journal/FileSystemMaster/checkpoint.data.tmp to hdfs://nameservice1/tachyon/journal/FileSystemMaster/checkpoint.data 2015-12-18 17:23:28,470 INFO MASTER_LOGGER (JournalWriter.java:deleteCompletedLogs) - Deleting all completed log files... 2015-12-18 17:23:28,471 INFO MASTER_LOGGER (JournalWriter.java:deleteCompletedLogs) - Finished deleting all completed log files. 2015-12-18 17:23:28,473 INFO MASTER_LOGGER (MasterBase.java:start) - RawTableMaster: Starting leader master. 2015-12-18 17:23:28,473 INFO MASTER_LOGGER (JournalWriter.java:completeAllLogs) - Marking all logs as complete. 2015-12-18 17:23:28,476 INFO MASTER_LOGGER (MasterBase.java:start) - RawTableMaster: finish processing remaining journal entries (standby -> master). 2015-12-18 17:23:28,481 INFO MASTER_LOGGER (JournalWriter.java:getCheckpointOutputStream) - Creating tmp checkpoint file: hdfs://nameservice1/tachyon/journal/RawTableMaster/checkpoint.data.tmp 2015-12-18 17:23:28,482 INFO MASTER_LOGGER (JournalWriter.java:getCheckpointOutputStream) - Latest journal sequence number: 0 Next journal sequence number: 1 2015-12-18 17:23:28,491 INFO MASTER_LOGGER (JournalWriter.java:close) - Successfully created tmp checkpoint file: hdfs://nameservice1/tachyon/journal/RawTableMaster/checkpoint.data.tmp 2015-12-18 17:23:28,503 INFO MASTER_LOGGER (JournalWriter.java:close) - Renamed checkpoint file hdfs://nameservice1/tachyon/journal/RawTableMaster/checkpoint.data.tmp to hdfs://nameservice1/tachyon/journal/RawTableMaster/checkpoint.data 2015-12-18 17:23:28,503 INFO MASTER_LOGGER (JournalWriter.java:deleteCompletedLogs) - Deleting all completed log files... 2015-12-18 17:23:28,505 INFO MASTER_LOGGER (JournalWriter.java:deleteCompletedLogs) - Finished deleting all completed log files. 2015-12-18 17:23:28,606 ERROR MASTER_LOGGER (TachyonMaster.java:main) - Uncaught exception terminating Master java.lang.NullPointerException at tachyon.master.TachyonMaster.startServingWebServer(TachyonMaster.java:340) at tachyon.master.TachyonMaster.startServing(TachyonMaster.java:330) at tachyon.master.TachyonMasterFaultTolerant.start(TachyonMasterFaultTolerant.java:97) at tachyon.master.TachyonMaster.main(TachyonMaster.java:67) {code}

    JIRA | 12 months ago | Adrian Bridgett
    java.lang.NullPointerException
  2. 0

    I had an 0.8.2 cluster and testing current master branch the tachyonmaster fails to start (logs below) Looks like it stops the metrics system (twice) and then receives an NPE in the webserver {code} 2015-12-18 17:23:10,726 WARN util.NativeCodeLoader (NativeCodeLoader.java:<clinit>) - Unable to load native-hadoop library for your platform... using builtin-java classes where applicable 2015-12-18 17:23:10,748 WARN shortcircuit.DomainSocketFactory (DomainSocketFactory.java:<init>) - The short-circuit local reads feature cannot be used because libhadoop cannot be loaded. 2015-12-18 17:23:10,976 INFO imps.CuratorFrameworkImpl (CuratorFrameworkImpl.java:start) - Starting 2015-12-18 17:23:10,984 INFO zookeeper.ZooKeeper (Environment.java:logEnv) - Client environment:zookeeper.version=3.4.5-1392090, built on 09/30/2012 17:52 GMT 2015-12-18 17:23:10,985 INFO zookeeper.ZooKeeper (Environment.java:logEnv) - Client environment:host.name=ip-10-1-201-132.ec2.internal 2015-12-18 17:23:10,985 INFO zookeeper.ZooKeeper (Environment.java:logEnv) - Client environment:java.version=1.8.0_51 2015-12-18 17:23:10,985 INFO zookeeper.ZooKeeper (Environment.java:logEnv) - Client environment:java.vendor=Oracle Corporation 2015-12-18 17:23:10,985 INFO zookeeper.ZooKeeper (Environment.java:logEnv) - Client environment:java.home=/usr/lib/jvm/jdk-8-oracle-x64/jre 2015-12-18 17:23:10,986 INFO zookeeper.ZooKeeper (Environment.java:logEnv) - Client environment:java.class.path=/tmp/mesos/slaves/f02cb67a-3519-4655-b23a-edc0dd082bf1-S3/frameworks/20150826-133446-3217621258-5050-4064-211132/executors/tachyon-master.000232a6-a5ac-11e5-9249-0e05bf2657ab/runs/7e54728d-466f-4e12-9a26-63b80f0783e2/tachyon/conf/:/tmp/mesos/slaves/f02cb67a-3519-4655-b23a-edc0dd082bf1-S3/frameworks/20150826-133446-3217621258-5050-4064-211132/executors/tachyon-master.000232a6-a5ac-11e5-9249-0e05bf2657ab/runs/7e54728d-466f-4e12-9a26-63b80f0783e2/tachyon/assembly/target/tachyon-assemblies-0.9.0-SNAPSHOT-jar-with-dependencies.jar:/opt/hadoop/etc/hadoop:/opt/hadoop/share/hadoop/common/lib/commons-math3-3.1.1.jar:/opt/hadoop/share/hadoop/common/lib/jetty-util-6.1.26.jar:/opt/hadoop/share/hadoop/common/lib/hadoop-auth-2.7.1.jar:/opt/hadoop/share/hadoop/common/lib/commons-httpclient-3.1.jar:/opt/hadoop/share/hadoop/common/lib/xz-1.0.jar:/opt/hadoop/share/hadoop/common/lib/stax-api-1.0-2.jar:/opt/hadoop/share/hadoop/common/lib/hadoop-annotations-2.7.1.jar:/opt/hadoop/share/hadoop/common/lib/protobuf-java-2.5.0.jar:/opt/hadoop/share/hadoop/common/lib/slf4j-api-1.7.10.jar:/opt/hadoop/share/hadoop/common/lib/hamcrest-core-1.3.jar:/opt/hadoop/share/hadoop/common/lib/jackson-core-asl-1.9.13.jar:/opt/hadoop/share/hadoop/common/lib/jaxb-api-2.2.2.jar:/opt/hadoop/share/hadoop/common/lib/avro-1.7.4.jar:/opt/hadoop/share/hadoop/common/lib/apacheds-kerberos-codec-2.0.0-M15.jar:/opt/hadoop/share/hadoop/common/lib/activation-1.1.jar:/opt/hadoop/share/hadoop/common/lib/jets3t-0.9.0.jar:/opt/hadoop/share/hadoop/common/lib/apacheds-i18n-2.0.0-M15.jar:/opt/hadoop/share/hadoop/common/lib/paranamer-2.3.jar:/opt/hadoop/share/hadoop/common/lib/htrace-core-3.1.0-incubating.jar:/opt/hadoop/share/hadoop/common/lib/jersey-server-1.9.jar:/opt/hadoop/share/hadoop/common/lib/jackson-jaxrs-1.9.13.jar:/opt/hadoop/share/hadoop/common/lib/jsp-api-2.1.jar:/opt/hadoop/share/hadoop/common/lib/httpclient-4.2.5.jar:/opt/hadoop/share/hadoop/common/lib/slf4j-log4j12-1.7.10.jar:/opt/hadoop/share/hadoop/common/lib/commons-cli-1.2.jar:/opt/hadoop/share/hadoop/common/lib/commons-codec-1.4.jar:/opt/hadoop/share/hadoop/common/lib/gson-2.2.4.jar:/opt/hadoop/share/hadoop/common/lib/commons-configuration-1.6.jar:/opt/hadoop/share/hadoop/common/lib/commons-net-3.1.jar:/opt/hadoop/share/hadoop/common/lib/commons-digester-1.8.jar:/opt/hadoop/share/hadoop/common/lib/api-asn1-api-1.0.0-M20.jar:/opt/hadoop/share/hadoop/common/lib/junit-4.11.jar:/opt/hadoop/share/hadoop/common/lib/commons-beanutils-core-1.8.0.jar:/opt/hadoop/share/hadoop/common/lib/jetty-6.1.26.jar:/opt/hadoop/share/hadoop/common/lib/commons-collections-3.2.1.jar:/opt/hadoop/share/hadoop/common/lib/log4j-1.2.17.jar:/opt/hadoop/share/hadoop/common/lib/curator-recipes-2.7.1.jar:/opt/hadoop/share/hadoop/common/lib/jsch-0.1.42.jar:/opt/hadoop/share/hadoop/common/lib/commons-lang-2.6.jar:/opt/hadoop/share/hadoop/common/lib/netty-3.6.2.Final.jar:/opt/hadoop/share/hadoop/common/lib/jackson-xc-1.9.13.jar:/opt/hadoop/share/hadoop/common/lib/commons-logging-1.1.3.jar:/opt/hadoop/share/hadoop/common/lib/servlet-api-2.5.jar:/opt/hadoop/share/hadoop/common/lib/java-xmlbuilder-0.4.jar:/opt/hadoop/share/hadoop/common/lib/guava-11.0.2.jar:/opt/hadoop/share/hadoop/common/lib/commons-io-2.4.jar:/opt/hadoop/share/hadoop/common/lib/jaxb-impl-2.2.3-1.jar:/opt/hadoop/share/hadoop/common/lib/curator-framework-2.7.1.jar:/opt/hadoop/share/hadoop/common/lib/commons-beanutils-1.7.0.jar:/opt/hadoop/share/hadoop/common/lib/jersey-json-1.9.jar:/opt/hadoop/share/hadoop/common/lib/jsr305-3.0.0.jar:/opt/hadoop/share/hadoop/common/lib/asm-3.2.jar:/opt/hadoop/share/hadoop/common/lib/api-util-1.0.0-M20.jar:/opt/hadoop/share/hadoop/common/lib/httpcore-4.2.5.jar:/opt/hadoop/share/hadoop/common/lib/xmlenc-0.52.jar:/opt/hadoop/share/hadoop/common/lib/commons-compress-1.4.1.jar:/opt/hadoop/share/hadoop/common/lib/jersey-core-1.9.jar:/opt/hadoop/share/hadoop/common/lib/jackson-mapper-asl-1.9.13.jar:/opt/hadoop/share/hadoop/common/lib/jettison-1.1.jar:/opt/hadoop/share/hadoop/common/lib/zookeeper-3.4.6.jar:/opt/hadoop/share/hadoop/common/lib/curator-client-2.7.1.jar:/opt/hadoop/share/hadoop/common/lib/mockito-all-1.8.5.jar:/opt/hadoop/share/hadoop/common/lib/snappy-java-1.0.4.1.jar:/opt/hadoop/share/hadoop/common/hadoop-common-2.7.1-tests.jar:/opt/hadoop/share/hadoop/common/hadoop-common-2.7.1.jar:/opt/hadoop/share/hadoop/common/hadoop-nfs-2.7.1.jar:/opt/hadoop/share/hadoop/hdfs:/opt/hadoop/share/hadoop/hdfs/lib/jetty-util-6.1.26.jar:/opt/hadoop/share/hadoop/hdfs/lib/netty-all-4.0.23.Final.jar:/opt/hadoop/share/hadoop/hdfs/lib/protobuf-java-2.5.0.jar:/opt/hadoop/share/hadoop/hdfs/lib/jackson-core-asl-1.9.13.jar:/opt/hadoop/share/hadoop/hdfs/lib/xml-apis-1.3.04.jar:/opt/hadoop/share/hadoop/hdfs/lib/xercesImpl-2.9.1.jar:/opt/hadoop/share/hadoop/hdfs/lib/htrace-core-3.1.0-incubating.jar:/opt/hadoop/share/hadoop/hdfs/lib/jersey-server-1.9.jar:/opt/hadoop/share/hadoop/hdfs/lib/commons-cli-1.2.jar:/opt/hadoop/share/hadoop/hdfs/lib/commons-codec-1.4.jar:/opt/hadoop/share/hadoop/hdfs/lib/jetty-6.1.26.jar:/opt/hadoop/share/hadoop/hdfs/lib/log4j-1.2.17.jar:/opt/hadoop/share/hadoop/hdfs/lib/commons-lang-2.6.jar:/opt/hadoop/share/hadoop/hdfs/lib/netty-3.6.2.Final.jar:/opt/hadoop/share/hadoop/hdfs/lib/commons-logging-1.1.3.jar:/opt/hadoop/share/hadoop/hdfs/lib/servlet-api-2.5.jar:/opt/hadoop/share/hadoop/hdfs/lib/guava-11.0.2.jar:/opt/hadoop/share/hadoop/hdfs/lib/commons-io-2.4.jar:/opt/hadoop/share/hadoop/hdfs/lib/commons-daemon-1.0.13.jar:/opt/hadoop/share/hadoop/hdfs/lib/jsr305-3.0.0.jar:/opt/hadoop/share/hadoop/hdfs/lib/asm-3.2.jar:/opt/hadoop/share/hadoop/hdfs/lib/leveldbjni-all-1.8.jar:/opt/hadoop/share/hadoop/hdfs/lib/xmlenc-0.52.jar:/opt/hadoop/share/hadoop/hdfs/lib/jersey-core-1.9.jar:/opt/hadoop/share/hadoop/hdfs/lib/jackson-mapper-asl-1.9.13.jar:/opt/hadoop/share/hadoop/hdfs/hadoop-hdfs-2.7.1-tests.jar:/opt/hadoop/share/hadoop/hdfs/hadoop-hdfs-2.7.1.jar:/opt/hadoop/share/hadoop/hdfs/hadoop-hdfs-nfs-2.7.1.jar:/opt/hadoop/share/hadoop/yarn/lib/jetty-util-6.1.26.jar:/opt/hadoop/share/hadoop/yarn/lib/xz-1.0.jar:/opt/hadoop/share/hadoop/yarn/lib/jersey-guice-1.9.jar:/opt/hadoop/share/hadoop/yarn/lib/stax-api-1.0-2.jar:/opt/hadoop/share/hadoop/yarn/lib/protobuf-java-2.5.0.jar:/opt/hadoop/share/hadoop/yarn/lib/jackson-core-asl-1.9.13.jar:/opt/hadoop/share/hadoop/yarn/lib/jaxb-api-2.2.2.jar:/opt/hadoop/share/hadoop/yarn/lib/activation-1.1.jar:/opt/hadoop/share/hadoop/yarn/lib/jersey-server-1.9.jar:/opt/hadoop/share/hadoop/yarn/lib/jackson-jaxrs-1.9.13.jar:/opt/hadoop/share/hadoop/yarn/lib/aopalliance-1.0.jar:/opt/hadoop/share/hadoop/yarn/lib/commons-cli-1.2.jar:/opt/hadoop/share/hadoop/yarn/lib/commons-codec-1.4.jar:/opt/hadoop/share/hadoop/yarn/lib/jetty-6.1.26.jar:/opt/hadoop/share/hadoop/yarn/lib/guice-servlet-3.0.jar:/opt/hadoop/share/hadoop/yarn/lib/commons-collections-3.2.1.jar:/opt/hadoop/share/hadoop/yarn/lib/log4j-1.2.17.jar:/opt/hadoop/share/hadoop/yarn/lib/commons-lang-2.6.jar:/opt/hadoop/share/hadoop/yarn/lib/netty-3.6.2.Final.jar:/opt/hadoop/share/hadoop/yarn/lib/jackson-xc-1.9.13.jar:/opt/hadoop/share/hadoop/yarn/lib/commons-logging-1.1.3.jar:/opt/hadoop/share/hadoop/yarn/lib/servlet-api-2.5.jar:/opt/hadoop/share/hadoop/yarn/lib/jersey-client-1.9.jar:/opt/hadoop/share/hadoop/yarn/lib/guava-11.0.2.jar:/opt/hadoop/share/hadoop/yarn/lib/commons-io-2.4.jar:/opt/hadoop/share/hadoop/yarn/lib/jaxb-impl-2.2.3-1.jar:/opt/hadoop/share/hadoop/yarn/lib/jersey-json-1.9.jar:/opt/hadoop/share/hadoop/yarn/lib/jsr305-3.0.0.jar:/opt/hadoop/share/hadoop/yarn/lib/asm-3.2.jar:/opt/hadoop/share/hadoop/yarn/lib/leveldbjni-all-1.8.jar:/opt/hadoop/share/hadoop/yarn/lib/guice-3.0.jar:/opt/hadoop/share/hadoop/yarn/lib/commons-compress-1.4.1.jar:/opt/hadoop/share/hadoop/yarn/lib/zookeeper-3.4.6-tests.jar:/opt/hadoop/share/hadoop/yarn/lib/javax.inject-1.jar:/opt/hadoop/share/hadoop/yarn/lib/jersey-core-1.9.jar:/opt/hadoop/share/hadoop/yarn/lib/jackson-mapper-asl-1.9.13.jar:/opt/hadoop/share/hadoop/yarn/lib/jettison-1.1.jar:/opt/hadoop/share/hadoop/yarn/lib/zookeeper-3.4.6.jar:/opt/hadoop/share/hadoop/yarn/hadoop-yarn-server-resourcemanager-2.7.1.jar:/opt/hadoop/share/hadoop/yarn/hadoop-yarn-applications-unmanaged-am-launcher-2.7.1.jar:/opt/hadoop/share/hadoop/yarn/hadoop-yarn-applications-distributedshell-2.7.1.jar:/opt/hadoop/share/hadoop/yarn/hadoop-yarn-server-tests-2.7.1.jar:/opt/hadoop/share/hadoop/yarn/hadoop-yarn-api-2.7.1.jar:/opt/hadoop/share/hadoop/yarn/hadoop-yarn-server-common-2.7.1.jar:/opt/hadoop/share/hadoop/yarn/hadoop-yarn-server-applicationhistoryservice-2.7.1.jar:/opt/hadoop/share/hadoop/yarn/hadoop-yarn-server-sharedcachemanager-2.7.1.jar:/opt/hadoop/share/hadoop/yarn/hadoop-yarn-server-web-proxy-2.7.1.jar:/opt/hadoop/share/hadoop/yarn/hadoop-yarn-common-2.7.1.jar:/opt/hadoop/share/hadoop/yarn/hadoop-yarn-client-2.7.1.jar:/opt/hadoop/share/hadoop/yarn/hadoop-yarn-registry-2.7.1.jar:/opt/hadoop/share/hadoop/yarn/hadoop-yarn-server-nodemanager-2.7.1.jar:/opt/hadoop/share/hadoop/mapreduce/lib/xz-1.0.jar:/opt/hadoop/share/hadoop/mapreduce/lib/jersey-guice-1.9.jar:/opt/hadoop/share/hadoop/mapreduce/lib/hadoop-annotations-2.7.1.jar:/opt/hadoop/share/hadoop/mapreduce/lib/protobuf-java-2.5.0.jar:/opt/hadoop/share/hadoop/mapreduce/lib/hamcrest-core-1.3.jar:/opt/hadoop/share/hadoop/mapreduce/lib/jackson-core-asl-1.9.13.jar:/opt/hadoop/share/hadoop/mapreduce/lib/avro-1.7.4.jar:/opt/hadoop/share/hadoop/mapreduce/lib/paranamer-2.3.jar:/opt/hadoop/share/hadoop/mapreduce/lib/jersey-server-1.9.jar:/opt/hadoop/share/hadoop/mapreduce/lib/aopalliance-1.0.jar:/opt/hadoop/share/hadoop/mapreduce/lib/junit-4.11.jar:/opt/hadoop/share/hadoop/mapreduce/lib/guice-servlet-3.0.jar:/opt/hadoop/share/hadoop/mapreduce/lib/log4j-1.2.17.jar:/opt/hadoop/share/hadoop/mapreduce/lib/netty-3.6.2.Final.jar:/opt/hadoop/share/hadoop/mapreduce/lib/commons-io-2.4.jar:/opt/hadoop/share/hadoop/mapreduce/lib/asm-3.2.jar:/opt/hadoop/share/hadoop/mapreduce/lib/leveldbjni-all-1.8.jar:/opt/hadoop/share/hadoop/mapreduce/lib/guice-3.0.jar:/opt/hadoop/share/hadoop/mapreduce/lib/commons-compress-1.4.1.jar:/opt/hadoop/share/hadoop/mapreduce/lib/javax.inject-1.jar:/opt/hadoop/share/hadoop/mapreduce/lib/jersey-core-1.9.jar:/opt/hadoop/share/hadoop/mapreduce/lib/jackson-mapper-asl-1.9.13.jar:/opt/hadoop/share/hadoop/mapreduce/lib/snappy-java-1.0.4.1.jar:/opt/hadoop/share/hadoop/mapreduce/hadoop-mapreduce-client-app-2.7.1.jar:/opt/hadoop/share/hadoop/mapreduce/hadoop-mapreduce-examples-2.7.1.jar:/opt/hadoop/share/hadoop/mapreduce/hadoop-mapreduce-client-jobclient-2.7.1-tests.jar:/opt/hadoop/share/hadoop/mapreduce/hadoop-mapreduce-client-hs-2.7.1.jar:/opt/hadoop/share/hadoop/mapreduce/hadoop-mapreduce-client-common-2.7.1.jar:/opt/hadoop/share/hadoop/mapreduce/hadoop-mapreduce-client-hs-plugins-2.7.1.jar:/opt/hadoop/share/hadoop/mapreduce/hadoop-mapreduce-client-shuffle-2.7.1.jar:/opt/hadoop/share/hadoop/mapreduce/hadoop-mapreduce-client-core-2.7.1.jar:/opt/hadoop/share/hadoop/mapreduce/hadoop-mapreduce-client-jobclient-2.7.1.jar:/contrib/capacity-scheduler/*.jar 2015-12-18 17:23:10,987 INFO zookeeper.ZooKeeper (Environment.java:logEnv) - Client environment:java.library.path=/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib 2015-12-18 17:23:10,987 INFO zookeeper.ZooKeeper (Environment.java:logEnv) - Client environment:java.io.tmpdir=/tmp 2015-12-18 17:23:10,987 INFO zookeeper.ZooKeeper (Environment.java:logEnv) - Client environment:java.compiler=<NA> 2015-12-18 17:23:10,987 INFO zookeeper.ZooKeeper (Environment.java:logEnv) - Client environment:os.name=Linux 2015-12-18 17:23:10,988 INFO zookeeper.ZooKeeper (Environment.java:logEnv) - Client environment:os.arch=amd64 2015-12-18 17:23:10,988 INFO zookeeper.ZooKeeper (Environment.java:logEnv) - Client environment:os.version=3.13.0-68-generic 2015-12-18 17:23:10,988 INFO zookeeper.ZooKeeper (Environment.java:logEnv) - Client environment:user.name=marathon 2015-12-18 17:23:10,989 INFO zookeeper.ZooKeeper (Environment.java:logEnv) - Client environment:user.home=/var/lib/marathon 2015-12-18 17:23:10,989 INFO zookeeper.ZooKeeper (Environment.java:logEnv) - Client environment:user.dir=/tmp/mesos/slaves/f02cb67a-3519-4655-b23a-edc0dd082bf1-S3/frameworks/20150826-133446-3217621258-5050-4064-211132/executors/tachyon-master.000232a6-a5ac-11e5-9249-0e05bf2657ab/runs/7e54728d-466f-4e12-9a26-63b80f0783e2 2015-12-18 17:23:10,990 INFO zookeeper.ZooKeeper (ZooKeeper.java:<init>) - Initiating client connection, connectString=mesos-1.opnsgnl.net:2181,mesos-2.opnsgnl.net:2181,mesos-3.opnsgnl.net:2181 sessionTimeout=60000 watcher=org.apache.curator.ConnectionState@5aac4250 2015-12-18 17:23:11,008 INFO zookeeper.ClientCnxn (ClientCnxn.java:logStartConnect) - Opening socket connection to server ip-10-1-200-165.ec2.internal/10.1.200.165:2181. Will not attempt to authenticate using SASL (unknown error) 2015-12-18 17:23:11,010 INFO zookeeper.ClientCnxn (ClientCnxn.java:primeConnection) - Socket connection established to ip-10-1-200-165.ec2.internal/10.1.200.165:2181, initiating session 2015-12-18 17:23:11,017 INFO zookeeper.ClientCnxn (ClientCnxn.java:onConnected) - Session establishment complete on server ip-10-1-200-165.ec2.internal/10.1.200.165:2181, sessionid = 0x2512ba03ee19846, negotiated timeout = 40000 2015-12-18 17:23:11,019 INFO zookeeper.ZooKeeper (ZooKeeper.java:close) - Session: 0x2512ba03ee19846 closed 2015-12-18 17:23:11,019 INFO zookeeper.ClientCnxn (ClientCnxn.java:run) - EventThread shut down 2015-12-18 17:23:11,019 INFO imps.CuratorFrameworkImpl (CuratorFrameworkImpl.java:start) - Starting 2015-12-18 17:23:11,020 INFO zookeeper.ZooKeeper (ZooKeeper.java:<init>) - Initiating client connection, connectString=mesos-1.opnsgnl.net:2181,mesos-2.opnsgnl.net:2181,mesos-3.opnsgnl.net:2181 sessionTimeout=60000 watcher=org.apache.curator.ConnectionState@158a3b2e 2015-12-18 17:23:11,023 INFO zookeeper.ClientCnxn (ClientCnxn.java:logStartConnect) - Opening socket connection to server ip-10-1-201-191.ec2.internal/10.1.201.191:2181. Will not attempt to authenticate using SASL (unknown error) 2015-12-18 17:23:11,023 INFO zookeeper.ClientCnxn (ClientCnxn.java:primeConnection) - Socket connection established to ip-10-1-201-191.ec2.internal/10.1.201.191:2181, initiating session 2015-12-18 17:23:11,025 WARN MASTER_LOGGER (MetricsSystem.java:stop) - Stopping a MetricsSystem that is not running 2015-12-18 17:23:11,025 INFO zookeeper.ClientCnxn (ClientCnxn.java:onConnected) - Session establishment complete on server ip-10-1-201-191.ec2.internal/10.1.201.191:2181, sessionid = 0x3512ba03deb9911, negotiated timeout = 40000 2015-12-18 17:23:11,026 INFO MASTER_LOGGER (MasterBase.java:stop) - BlockMaster: Stopping standby master. 2015-12-18 17:23:11,026 INFO MASTER_LOGGER (MasterBase.java:stop) - FileSystemMaster: Stopping standby master. 2015-12-18 17:23:11,026 INFO MASTER_LOGGER (MasterBase.java:stop) - RawTableMaster: Stopping standby master. 2015-12-18 17:23:11,027 INFO state.ConnectionStateManager (ConnectionStateManager.java:addStateChange) - State change: CONNECTED 2015-12-18 17:23:11,099 INFO MASTER_LOGGER (LeaderSelectorClient.java:stateChanged) - The current leader is 2015-12-18 17:23:11,100 INFO MASTER_LOGGER (LeaderSelectorClient.java:takeLeadership) - deleting zk path: /tachyon/leader/ip-10-1-201-132.ec2.internal:19998 2015-12-18 17:23:11,104 INFO MASTER_LOGGER (LeaderSelectorClient.java:takeLeadership) - creating zk path: /tachyon/leader/ip-10-1-201-132.ec2.internal:19998 2015-12-18 17:23:11,106 INFO MASTER_LOGGER (LeaderSelectorClient.java:takeLeadership) - ip-10-1-201-132.ec2.internal:19998 is now the leader. 2015-12-18 17:23:11,136 INFO MASTER_LOGGER (MasterBase.java:start) - BlockMaster: Starting standby master. 2015-12-18 17:23:11,137 INFO MASTER_LOGGER (JournalTailerThread.java:run) - BlockMaster: Journal tailer started. 2015-12-18 17:23:11,137 INFO MASTER_LOGGER (JournalTailerThread.java:run) - BlockMaster: Waiting to load the checkpoint file. 2015-12-18 17:23:11,143 INFO MASTER_LOGGER (MasterBase.java:start) - FileSystemMaster: Starting standby master. 2015-12-18 17:23:11,143 INFO MASTER_LOGGER (MasterBase.java:start) - RawTableMaster: Starting standby master. 2015-12-18 17:23:11,143 INFO MASTER_LOGGER (JournalTailerThread.java:run) - FileSystemMaster: Journal tailer started. 2015-12-18 17:23:11,143 INFO MASTER_LOGGER (JournalTailerThread.java:run) - FileSystemMaster: Waiting to load the checkpoint file. 2015-12-18 17:23:11,143 INFO MASTER_LOGGER (JournalTailerThread.java:run) - RawTableMaster: Journal tailer started. 2015-12-18 17:23:11,144 INFO MASTER_LOGGER (JournalTailerThread.java:run) - BlockMaster: Start loading the checkpoint file. 2015-12-18 17:23:11,144 INFO MASTER_LOGGER (JournalTailerThread.java:run) - RawTableMaster: Waiting to load the checkpoint file. 2015-12-18 17:23:11,144 INFO MASTER_LOGGER (JournalTailer.java:processJournalCheckpoint) - BlockMaster: Loading checkpoint file: hdfs://nameservice1/tachyon/journal/BlockMaster/checkpoint.data 2015-12-18 17:23:11,148 INFO MASTER_LOGGER (JournalReader.java:getCheckpointInputStream) - Opening journal checkpoint file: hdfs://nameservice1/tachyon/journal/BlockMaster/checkpoint.data 2015-12-18 17:23:11,149 INFO MASTER_LOGGER (JournalTailerThread.java:run) - FileSystemMaster: Start loading the checkpoint file. 2015-12-18 17:23:11,149 INFO MASTER_LOGGER (JournalTailer.java:processJournalCheckpoint) - FileSystemMaster: Loading checkpoint file: hdfs://nameservice1/tachyon/journal/FileSystemMaster/checkpoint.data 2015-12-18 17:23:11,149 INFO MASTER_LOGGER (JournalTailerThread.java:run) - RawTableMaster: Start loading the checkpoint file. 2015-12-18 17:23:11,149 INFO MASTER_LOGGER (JournalTailer.java:processJournalCheckpoint) - RawTableMaster: Loading checkpoint file: hdfs://nameservice1/tachyon/journal/RawTableMaster/checkpoint.data 2015-12-18 17:23:11,154 INFO MASTER_LOGGER (JournalReader.java:getCheckpointInputStream) - Opening journal checkpoint file: hdfs://nameservice1/tachyon/journal/FileSystemMaster/checkpoint.data 2015-12-18 17:23:11,155 INFO MASTER_LOGGER (JournalReader.java:getCheckpointInputStream) - Opening journal checkpoint file: hdfs://nameservice1/tachyon/journal/RawTableMaster/checkpoint.data 2015-12-18 17:23:11,170 INFO MASTER_LOGGER (JournalTailerThread.java:run) - RawTableMaster: Checkpoint file has been loaded. 2015-12-18 17:23:11,226 INFO MASTER_LOGGER (JournalTailerThread.java:run) - BlockMaster: Checkpoint file has been loaded. 2015-12-18 17:23:11,232 INFO MASTER_LOGGER (JournalTailerThread.java:run) - FileSystemMaster: Checkpoint file has been loaded. 2015-12-18 17:23:11,243 WARN MASTER_LOGGER (MetricsSystem.java:stop) - Stopping a MetricsSystem that is not running 2015-12-18 17:23:11,244 INFO MASTER_LOGGER (MasterBase.java:stop) - BlockMaster: Stopping standby master. 2015-12-18 17:23:11,244 INFO MASTER_LOGGER (JournalTailerThread.java:shutdown) - BlockMaster: Journal tailer shutdown has been initiated. 2015-12-18 17:23:17,264 INFO MASTER_LOGGER (JournalTailerThread.java:run) - BlockMaster: Journal tailer has been shutdown. No new logs for the quiet period. 2015-12-18 17:23:17,265 INFO MASTER_LOGGER (MasterBase.java:stop) - FileSystemMaster: Stopping standby master. 2015-12-18 17:23:17,265 INFO MASTER_LOGGER (JournalTailerThread.java:shutdown) - FileSystemMaster: Journal tailer shutdown has been initiated. 2015-12-18 17:23:22,292 INFO MASTER_LOGGER (JournalTailerThread.java:run) - FileSystemMaster: Journal tailer has been shutdown. No new logs for the quiet period. 2015-12-18 17:23:22,292 INFO MASTER_LOGGER (MasterBase.java:stop) - RawTableMaster: Stopping standby master. 2015-12-18 17:23:22,292 INFO MASTER_LOGGER (JournalTailerThread.java:shutdown) - RawTableMaster: Journal tailer shutdown has been initiated. 2015-12-18 17:23:28,272 INFO MASTER_LOGGER (JournalTailerThread.java:run) - RawTableMaster: Journal tailer has been shutdown. No new logs for the quiet period. 2015-12-18 17:23:28,273 INFO MASTER_LOGGER (MasterBase.java:start) - BlockMaster: Starting leader master. 2015-12-18 17:23:28,274 INFO MASTER_LOGGER (JournalWriter.java:completeAllLogs) - Marking all logs as complete. 2015-12-18 17:23:28,277 INFO MASTER_LOGGER (MasterBase.java:start) - BlockMaster: finish processing remaining journal entries (standby -> master). 2015-12-18 17:23:28,281 INFO MASTER_LOGGER (JournalWriter.java:getCheckpointOutputStream) - Creating tmp checkpoint file: hdfs://nameservice1/tachyon/journal/BlockMaster/checkpoint.data.tmp 2015-12-18 17:23:28,283 INFO MASTER_LOGGER (JournalWriter.java:getCheckpointOutputStream) - Latest journal sequence number: 22 Next journal sequence number: 23 2015-12-18 17:23:28,403 INFO MASTER_LOGGER (JournalWriter.java:close) - Successfully created tmp checkpoint file: hdfs://nameservice1/tachyon/journal/BlockMaster/checkpoint.data.tmp 2015-12-18 17:23:28,418 INFO MASTER_LOGGER (JournalWriter.java:close) - Renamed checkpoint file hdfs://nameservice1/tachyon/journal/BlockMaster/checkpoint.data.tmp to hdfs://nameservice1/tachyon/journal/BlockMaster/checkpoint.data 2015-12-18 17:23:28,418 INFO MASTER_LOGGER (JournalWriter.java:deleteCompletedLogs) - Deleting all completed log files... 2015-12-18 17:23:28,419 INFO MASTER_LOGGER (JournalWriter.java:deleteCompletedLogs) - Finished deleting all completed log files. 2015-12-18 17:23:28,424 INFO MASTER_LOGGER (MountTable.java:add) - Mounting hdfs://nameservice1 at / 2015-12-18 17:23:28,424 INFO MASTER_LOGGER (MasterBase.java:start) - FileSystemMaster: Starting leader master. 2015-12-18 17:23:28,424 INFO MASTER_LOGGER (JournalWriter.java:completeAllLogs) - Marking all logs as complete. 2015-12-18 17:23:28,427 INFO MASTER_LOGGER (MasterBase.java:start) - FileSystemMaster: finish processing remaining journal entries (standby -> master). 2015-12-18 17:23:28,432 INFO MASTER_LOGGER (JournalWriter.java:getCheckpointOutputStream) - Creating tmp checkpoint file: hdfs://nameservice1/tachyon/journal/FileSystemMaster/checkpoint.data.tmp 2015-12-18 17:23:28,433 INFO MASTER_LOGGER (JournalWriter.java:getCheckpointOutputStream) - Latest journal sequence number: 42 Next journal sequence number: 43 2015-12-18 17:23:28,459 INFO MASTER_LOGGER (JournalWriter.java:close) - Successfully created tmp checkpoint file: hdfs://nameservice1/tachyon/journal/FileSystemMaster/checkpoint.data.tmp 2015-12-18 17:23:28,469 INFO MASTER_LOGGER (JournalWriter.java:close) - Renamed checkpoint file hdfs://nameservice1/tachyon/journal/FileSystemMaster/checkpoint.data.tmp to hdfs://nameservice1/tachyon/journal/FileSystemMaster/checkpoint.data 2015-12-18 17:23:28,470 INFO MASTER_LOGGER (JournalWriter.java:deleteCompletedLogs) - Deleting all completed log files... 2015-12-18 17:23:28,471 INFO MASTER_LOGGER (JournalWriter.java:deleteCompletedLogs) - Finished deleting all completed log files. 2015-12-18 17:23:28,473 INFO MASTER_LOGGER (MasterBase.java:start) - RawTableMaster: Starting leader master. 2015-12-18 17:23:28,473 INFO MASTER_LOGGER (JournalWriter.java:completeAllLogs) - Marking all logs as complete. 2015-12-18 17:23:28,476 INFO MASTER_LOGGER (MasterBase.java:start) - RawTableMaster: finish processing remaining journal entries (standby -> master). 2015-12-18 17:23:28,481 INFO MASTER_LOGGER (JournalWriter.java:getCheckpointOutputStream) - Creating tmp checkpoint file: hdfs://nameservice1/tachyon/journal/RawTableMaster/checkpoint.data.tmp 2015-12-18 17:23:28,482 INFO MASTER_LOGGER (JournalWriter.java:getCheckpointOutputStream) - Latest journal sequence number: 0 Next journal sequence number: 1 2015-12-18 17:23:28,491 INFO MASTER_LOGGER (JournalWriter.java:close) - Successfully created tmp checkpoint file: hdfs://nameservice1/tachyon/journal/RawTableMaster/checkpoint.data.tmp 2015-12-18 17:23:28,503 INFO MASTER_LOGGER (JournalWriter.java:close) - Renamed checkpoint file hdfs://nameservice1/tachyon/journal/RawTableMaster/checkpoint.data.tmp to hdfs://nameservice1/tachyon/journal/RawTableMaster/checkpoint.data 2015-12-18 17:23:28,503 INFO MASTER_LOGGER (JournalWriter.java:deleteCompletedLogs) - Deleting all completed log files... 2015-12-18 17:23:28,505 INFO MASTER_LOGGER (JournalWriter.java:deleteCompletedLogs) - Finished deleting all completed log files. 2015-12-18 17:23:28,606 ERROR MASTER_LOGGER (TachyonMaster.java:main) - Uncaught exception terminating Master java.lang.NullPointerException at tachyon.master.TachyonMaster.startServingWebServer(TachyonMaster.java:340) at tachyon.master.TachyonMaster.startServing(TachyonMaster.java:330) at tachyon.master.TachyonMasterFaultTolerant.start(TachyonMasterFaultTolerant.java:97) at tachyon.master.TachyonMaster.main(TachyonMaster.java:67) {code}

    JIRA | 12 months ago | Adrian Bridgett
    java.lang.NullPointerException
  3. 0

    Android: Saving Map State in Google map

    Stack Overflow | 11 months ago | Junie Negentien
    java.lang.RuntimeException: Unable to resume activity {com.ourThesis.junieNegentien2015/com.ourThesis.junieNegentien2015.MainActivity}: java.lang.NullPointerException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at tachyon.master.TachyonMaster.startServingWebServer()
    2. Tachyon Project Core
      TachyonMaster.main
      1. tachyon.master.TachyonMaster.startServingWebServer(TachyonMaster.java:340)
      2. tachyon.master.TachyonMaster.startServing(TachyonMaster.java:330)
      3. tachyon.master.TachyonMasterFaultTolerant.start(TachyonMasterFaultTolerant.java:97)
      4. tachyon.master.TachyonMaster.main(TachyonMaster.java:67)
      4 frames