vivostar opened a new pull request, #973:
URL: https://github.com/apache/bigtop/pull/973

   <!--
     Thanks for sending a pull request!
       1. If this is your first time, please read our contributor guidelines: 
https://cwiki.apache.org/confluence/display/BIGTOP/How+to+Contribute
       2. Make sure your PR title starts with JIRA issue id, e.g., 
'BIGTOP-3638: Your PR title ...'.
   -->
   
   ### Description of PR
   Add Spark Thrift Server Puppet Deploy Code
   
   ### How was this patch tested?
   1. #972 first should resolve the pr
   2. edit the docker-hadoop.sh 
   ```yaml
   bigtop::hadoop_head_node: $1
   
   hadoop::hadoop_storage_dirs:
   - /data/1
   bigtop::roles_enabled: true
   bigtop::roles: 
   - namenode
   - resourcemanager
   - hive-client
   - hive-metastore
   - datanode
   - nodemanager
   - mapred-app
   - spark-on-yarn
   - spark-thriftserver
   bigtop::bigtop_repo_uri: 
["http://repos.bigtop.apache.org/releases/3.1.0/centos/7/\$basearch";]
   hadoop_hive::common_config::hive_execution_engine: "tez"
   hadoop::common::use_tez: true
   hadoop::common_yarn::yarn_resourcemanager_scheduler_class: 
org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.FairScheduler
   hadoop::common_yarn::yarn_scheduler_capacity_maximum_am_resource_percent: 0.5
   hadoop_hive::common_config::hive_tez_container_size: 1024
   hadoop_hive::common_config::hive_tez_cpu_vcores: 1
   hadoop_hive::common_config::hive_server2_enable_doAs: false
   ```
   3. create a docker containner
   ```
   ./docker-hadoop.sh -d -c 1
   ```
   4. now you can use beeline to test the Thrift JDBC/ODBC server:
   
   ### For code changes:
   
   - [x] Does the title or this PR starts with the corresponding JIRA issue id 
(e.g. 'BIGTOP-3638. Your PR title ...')?
   - [x] Make sure that newly added files do not have any licensing issues. 
When in doubt refer to https://www.apache.org/licenses/


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to