bin/spark-submit --master yarn-cluster --executor-memory 1g --class sparkscala.k3.app.Query /application/hadoop/testjar/query.jar hdfs://ns1/data/log1.txt hdfs://ns1/sparkout/query1
[hadoop@yun01-dn-01 spark]$ bin/spark-submit --master yarn-cluster --executor-memory 1g --class sparkscala.k3.app.Query /application/hadoop/testjar/query.jar hdfs://ns1/data/log1.txt hdfs://ns1/sparkout/query17
16/07/09 07:20:24 WARN NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
16/07/09 07:20:26 INFO Client: Requesting a new application from cluster with 3 NodeManagers
16/07/09 07:20:26 INFO Client: Verifying our application has not requested more than the maximum memory capability of the cluster (8192 MB per container)
16/07/09 07:20:26 INFO Client: Will allocate AM container, with 1408 MB memory including 384 MB overhead
16/07/09 07:20:26 INFO Client: Setting up container launch context for our AM
16/07/09 07:20:26 INFO Client: Setting up the launch environment for our AM container
16/07/09 07:20:26 WARN Client: SPARK_JAR detected in the system environment. This variable has been deprecated in favor of the spark.yarn.jar configuration variable.
16/07/09 07:20:26 INFO Client: Preparing resources for our AM container
16/07/09 07:20:28 WARN Client: SPARK_JAR detected in the system environment. This variable has been deprecated in favor of the spark.yarn.jar configuration variable.
16/07/09 07:20:28 INFO Client: Uploading resource file:/application/hadoop/spark/lib/spark-assembly-1.5.2-hadoop2.6.0.jar -> hdfs://ns1/user/hadoop/.sparkStaging/application_1468011021285_0007/spark-assembly-1.5.2-hadoop2.6.0.jar
16/07/09 07:20:39 INFO Client: Uploading resource file:/application/hadoop/testjar/query.jar -> hdfs://ns1/user/hadoop/.sparkStaging/application_1468011021285_0007/query.jar
16/07/09 07:20:39 INFO Client: Uploading resource file:/tmp/spark-2e9f5748-88fb-4505-a53f-156bbf05f4eb/__spark_conf__99133437026482474.zip -> hdfs://ns1/user/hadoop/.sparkStaging/application_1468011021285_0007/__spark_conf__99133437026482474.zip
16/07/09 07:20:39 INFO SecurityManager: Changing view acls to: hadoop
16/07/09 07:20:39 INFO SecurityManager: Changing modify acls to: hadoop
16/07/09 07:20:39 INFO SecurityManager: SecurityManager: authentication disabled; ui acls disabled; users with view permissions: Set(hadoop); users with modify permissions: Set(hadoop)
16/07/09 07:20:40 INFO Client: Submitting application 7 to ResourceManager
16/07/09 07:20:40 INFO YarnClientImpl: Submitted application application_1468011021285_0007
16/07/09 07:20:41 INFO Client: Application report for application_1468011021285_0007 (state: ACCEPTED)
16/07/09 07:20:41 INFO Client:
client token: N/A
diagnostics: N/A
ApplicationMaster host: N/A
ApplicationMaster RPC port: -1
queue: default
start time: 1468020047457
final status: UNDEFINED
tracking URL: http://yun01-nn-01:8088/proxy/application_1468011021285_0007/
user: hadoop
16/07/09 07:20:42 INFO Client: Application report for application_1468011021285_0007 (state: ACCEPTED)
16/07/09 07:20:43 INFO Client: Application report for application_1468011021285_0007 (state: ACCEPTED)
16/07/09 07:20:44 INFO Client: Application report for application_1468011021285_0007 (state: ACCEPTED)
16/07/09 07:20:45 INFO Client: Application report for application_1468011021285_0007 (state: ACCEPTED)
16/07/09 07:20:46 INFO Client: Application report for application_1468011021285_0007 (state: ACCEPTED)
16/07/09 07:20:47 INFO Client: Application report for application_1468011021285_0007 (state: ACCEPTED)
16/07/09 07:20:48 INFO Client: Application report for application_1468011021285_0007 (state: ACCEPTED)
16/07/09 07:20:49 INFO Client: Application report for application_1468011021285_0007 (state: ACCEPTED)
16/07/09 07:20:50 INFO Client: Application report for application_1468011021285_0007 (state: ACCEPTED)
16/07/09 07:20:51 INFO Client: Application report for application_1468011021285_0007 (state: ACCEPTED)
16/07/09 07:20:52 INFO Client: Application report for application_1468011021285_0007 (state: ACCEPTED)
16/07/09 07:20:53 INFO Client: Application report for application_1468011021285_0007 (state: ACCEPTED)
16/07/09 07:20:54 INFO Client: Application report for application_1468011021285_0007 (state: ACCEPTED)
16/07/09 07:20:55 INFO Client: Application report for application_1468011021285_0007 (state: ACCEPTED)
16/07/09 07:20:56 INFO Client: Application report for application_1468011021285_0007 (state: ACCEPTED)
16/07/09 07:20:57 INFO Client: Application report for application_1468011021285_0007 (state: ACCEPTED)
16/07/09 07:20:58 INFO Client: Application report for application_1468011021285_0007 (state: ACCEPTED)
16/07/09 07:20:59 INFO Client: Application report for application_1468011021285_0007 (state: ACCEPTED)
16/07/09 07:21:00 INFO Client: Application report for application_1468011021285_0007 (state: ACCEPTED)
16/07/09 07:21:01 INFO Client: Application report for application_1468011021285_0007 (state: RUNNING)
16/07/09 07:21:01 INFO Client:
client token: N/A
diagnostics: N/A
ApplicationMaster host: 192.168.56.14
ApplicationMaster RPC port: 0
queue: default
start time: 1468020047457
final status: UNDEFINED
tracking URL: http://yun01-nn-01:8088/proxy/application_1468011021285_0007/
user: hadoop
16/07/09 07:21:02 INFO Client: Application report for application_1468011021285_0007 (state: RUNNING)
16/07/09 07:21:03 INFO Client: Application report for application_1468011021285_0007 (state: RUNNING)
16/07/09 07:21:04 INFO Client: Application report for application_1468011021285_0007 (state: RUNNING)
16/07/09 07:21:05 INFO Client: Application report for application_1468011021285_0007 (state: RUNNING)
16/07/09 07:21:06 INFO Client: Application report for application_1468011021285_0007 (state: RUNNING)
16/07/09 07:21:07 INFO Client: Application report for application_1468011021285_0007 (state: RUNNING)
16/07/09 07:21:08 INFO Client: Application report for application_1468011021285_0007 (state: RUNNING)
16/07/09 07:21:09 INFO Client: Application report for application_1468011021285_0007 (state: RUNNING)
16/07/09 07:21:10 INFO Client: Application report for application_1468011021285_0007 (state: RUNNING)
16/07/09 07:21:11 INFO Client: Application report for application_1468011021285_0007 (state: RUNNING)
16/07/09 07:21:12 INFO Client: Application report for application_1468011021285_0007 (state: RUNNING)
16/07/09 07:21:13 INFO Client: Application report for application_1468011021285_0007 (state: RUNNING)
16/07/09 07:21:14 INFO Client: Application report for application_1468011021285_0007 (state: RUNNING)
16/07/09 07:21:15 INFO Client: Application report for application_1468011021285_0007 (state: RUNNING)
16/07/09 07:21:16 INFO Client: Application report for application_1468011021285_0007 (state: RUNNING)
16/07/09 07:21:17 INFO Client: Application report for application_1468011021285_0007 (state: RUNNING)
16/07/09 07:21:18 INFO Client: Application report for application_1468011021285_0007 (state: RUNNING)
16/07/09 07:21:19 INFO Client: Application report for application_1468011021285_0007 (state: RUNNING)
16/07/09 07:21:20 INFO Client: Application report for application_1468011021285_0007 (state: RUNNING)
16/07/09 07:21:21 INFO Client: Application report for application_1468011021285_0007 (state: RUNNING)
16/07/09 07:21:22 INFO Client: Application report for application_1468011021285_0007 (state: RUNNING)
16/07/09 07:21:23 INFO Client: Application report for application_1468011021285_0007 (state: RUNNING)
16/07/09 07:21:24 INFO Client: Application report for application_1468011021285_0007 (state: RUNNING)
16/07/09 07:21:25 INFO Client: Application report for application_1468011021285_0007 (state: RUNNING)
16/07/09 07:21:26 INFO Client: Application report for application_1468011021285_0007 (state: RUNNING)
16/07/09 07:21:27 INFO Client: Application report for application_1468011021285_0007 (state: RUNNING)
16/07/09 07:21:28 INFO Client: Application report for application_1468011021285_0007 (state: RUNNING)
16/07/09 07:21:30 INFO Client: Application report for application_1468011021285_0007 (state: RUNNING)
16/07/09 07:21:31 INFO Client: Application report for application_1468011021285_0007 (state: RUNNING)
16/07/09 07:21:32 INFO Client: Application report for application_1468011021285_0007 (state: RUNNING)
16/07/09 07:21:33 INFO Client: Application report for application_1468011021285_0007 (state: RUNNING)
16/07/09 07:21:34 INFO Client: Application report for application_1468011021285_0007 (state: RUNNING)
16/07/09 07:21:35 INFO Client: Application report for application_1468011021285_0007 (state: RUNNING)
16/07/09 07:21:36 INFO Client: Application report for application_1468011021285_0007 (state: RUNNING)
16/07/09 07:21:37 INFO Client: Application report for application_1468011021285_0007 (state: RUNNING)
16/07/09 07:21:38 INFO Client: Application report for application_1468011021285_0007 (state: FINISHED)
16/07/09 07:21:38 INFO Client:
client token: N/A
diagnostics: N/A
ApplicationMaster host: 192.168.56.14
ApplicationMaster RPC port: 0
queue: default
start time: 1468020047457
final status: SUCCEEDED
tracking URL: http://yun01-nn-01:8088/proxy/application_1468011021285_0007/A
user: hadoop
16/07/09 07:21:38 INFO ShutdownHookManager: Shutdown hook called
16/07/09 07:21:38 INFO ShutdownHookManager: Deleting directory /tmp/spark-2e9f5748-88fb-4505-a53f-156bbf05f4eb