Repository: samza Updated Branches: refs/heads/master eba9b28f3 -> a0ee94d64
SAMZA-810: add list application command Project: http://git-wip-us.apache.org/repos/asf/samza/repo Commit: http://git-wip-us.apache.org/repos/asf/samza/commit/a0ee94d6 Tree: http://git-wip-us.apache.org/repos/asf/samza/tree/a0ee94d6 Diff: http://git-wip-us.apache.org/repos/asf/samza/diff/a0ee94d6 Branch: refs/heads/master Commit: a0ee94d647cb21cc9f5e2b05cb74068d7d7ca9a4 Parents: eba9b28 Author: Boris Shkolnik <[email protected]> Authored: Mon Nov 9 11:05:37 2015 -0800 Committer: Yi Pan (Data Infrastructure) <[email protected]> Committed: Mon Nov 9 11:05:37 2015 -0800 ---------------------------------------------------------------------- samza-shell/src/main/bash/list-yarn-job.sh | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/samza/blob/a0ee94d6/samza-shell/src/main/bash/list-yarn-job.sh ---------------------------------------------------------------------- diff --git a/samza-shell/src/main/bash/list-yarn-job.sh b/samza-shell/src/main/bash/list-yarn-job.sh new file mode 100644 index 0000000..10cdb44 --- /dev/null +++ b/samza-shell/src/main/bash/list-yarn-job.sh @@ -0,0 +1,21 @@ +#!/bin/bash +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + +[[ $JAVA_OPTS != *-Dlog4j.configuration* ]] && export JAVA_OPTS="$JAVA_OPTS -Dlog4j.configuration=file:$(dirname $0)/log4j-console.xml" + +exec $(dirname $0)/run-class.sh org.apache.hadoop.yarn.client.cli.ApplicationCLI application -list
