| # |
| # 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. |
| # |
| # spark required |
| sparkJob.file=hdfs:///griffin/griffin-measure.jar |
| sparkJob.className=org.apache.griffin.measure.Application |
| sparkJob.args_1=hdfs:///griffin/json/env.json |
| sparkJob.args_3=hdfs,raw |
| sparkJob.name=test |
| sparkJob.queue=default |
| # options |
| sparkJob.numExecutors=2 |
| sparkJob.executorCores=1 |
| sparkJob.driverMemory=1g |
| sparkJob.executorMemory=1g |
| # shouldn't config in server, but in |
| sparkJob.jars=hdfs:///livy/datanucleus-api-jdo-3.2.6.jar;\ |
| hdfs:///livy/datanucleus-core-3.2.10.jar;\ |
| hdfs:///livy/datanucleus-rdbms-3.2.9.jar |
| spark.yarn.dist.files=hdfs:///home/spark_conf/hive-site.xml |
| # livy |
| # livy.uri=http://10.9.246.187:8998/batches |
| livy.uri=http://localhost:8998/batches |
| # yarn url |
| # spark.uri=http://10.149.247.156:28088 |
| # spark.uri=http://10.9.246.187:8088 |
| yarn.uri=http://localhost:8088 |