diff --git bin/check-env.sh bin/check-env.sh index 79076f9..881e4e4 100644 --- bin/check-env.sh +++ bin/check-env.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # # Licensed to the Apache Software Foundation (ASF) under one or more diff --git bin/find-hbase-dependency.sh bin/find-hbase-dependency.sh index 9e49b6f..03ab2a1 100644 --- bin/find-hbase-dependency.sh +++ bin/find-hbase-dependency.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # @@ -38,4 +38,4 @@ fi hbase_dependency=${hbase_common_path} echo "hbase dependency: $hbase_dependency" -export hbase_dependency \ No newline at end of file +export hbase_dependency diff --git bin/find-hive-dependency.sh bin/find-hive-dependency.sh index d8accfc..bcb2207 100644 --- bin/find-hive-dependency.sh +++ bin/find-hive-dependency.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # # Licensed to the Apache Software Foundation (ASF) under one or more diff --git bin/kylin.sh bin/kylin.sh index 46c640f..9ba0900 100644 --- bin/kylin.sh +++ bin/kylin.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # # Licensed to the Apache Software Foundation (ASF) under one or more diff --git bin/performance-monitor.sh bin/performance-monitor.sh index 9004c02..4d30364 100644 --- bin/performance-monitor.sh +++ bin/performance-monitor.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # # Licensed to the Apache Software Foundation (ASF) under one or more @@ -35,4 +35,4 @@ hbase \ org.apache.hadoop.util.RunJar $KYLIN_HOME/lib/${_monitorjar} org.apache.kylin.monitor.Client - exit 0 \ No newline at end of file + exit 0 diff --git bin/sample.sh bin/sample.sh index fbad7fd..4843529 100644 --- bin/sample.sh +++ bin/sample.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # # Licensed to the Apache Software Foundation (ASF) under one or more @@ -26,4 +26,4 @@ hive -f ${KYLIN_HOME}/sample_cube/create_sample_tables.sql || { exit 1; } echo "Sample hive tables are created successfully; Going to create sample cube..." cd ${KYLIN_HOME} hbase org.apache.hadoop.util.RunJar ${job_jar} org.apache.kylin.common.persistence.ResourceTool upload ${KYLIN_HOME}/sample_cube/metadata || { exit 1; } -echo "Sample cube is created successfully in project 'learn_kylin'; Restart Kylin server or reload the metadata from web UI to see the change." \ No newline at end of file +echo "Sample cube is created successfully in project 'learn_kylin'; Restart Kylin server or reload the metadata from web UI to see the change." diff --git script/build.sh script/build.sh index 4c5f5d8..de1f990 100755 --- script/build.sh +++ script/build.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with diff --git script/compress.sh script/compress.sh index ff606bc..89cb9e8 100755 --- script/compress.sh +++ script/compress.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with diff --git script/download-tomcat.sh script/download-tomcat.sh index f43d202..c1c2677 100755 --- script/download-tomcat.sh +++ script/download-tomcat.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with diff --git script/prepare.sh script/prepare.sh index f0702f8..8c5a162 100755 --- script/prepare.sh +++ script/prepare.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with @@ -53,4 +53,4 @@ for f in * .[^.]* do echo "Adding $f to war" jar -uf ../../tomcat/webapps/kylin.war $f -done \ No newline at end of file +done