You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kylin.apache.org by li...@apache.org on 2015/03/21 01:28:45 UTC

[12/25] incubator-kylin git commit: KYLIN-639 Add localhost:7070 as kylin.rest.servers in kylin.properties

KYLIN-639 Add localhost:7070 as kylin.rest.servers in kylin.properties

Project: http://git-wip-us.apache.org/repos/asf/incubator-kylin/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-kylin/commit/39797666
Tree: http://git-wip-us.apache.org/repos/asf/incubator-kylin/tree/39797666
Diff: http://git-wip-us.apache.org/repos/asf/incubator-kylin/diff/39797666

Branch: refs/heads/master
Commit: 3979766683df58fdfb47ea89da9f0839333c911e
Parents: 37f4132
Author: Shao Feng, Shi <sh...@ebay.com>
Authored: Sat Mar 14 11:31:33 2015 +0800
Committer: Shao Feng, Shi <sh...@ebay.com>
Committed: Sat Mar 14 11:31:33 2015 +0800

----------------------------------------------------------------------
 bin/sample.sh         | 5 ++++-
 conf/kylin.properties | 2 +-
 2 files changed, 5 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-kylin/blob/39797666/bin/sample.sh
----------------------------------------------------------------------
diff --git a/bin/sample.sh b/bin/sample.sh
index 84629e9..02930a9 100644
--- a/bin/sample.sh
+++ b/bin/sample.sh
@@ -2,7 +2,10 @@
 dir=$(dirname ${0})
 source ${dir}/check-env.sh
 job_jar=`find ${KYLIN_HOME}/lib/ -name kylin-job*.jar`
+echo "Going to create sample tables in hive..."
 cd ${KYLIN_HOME}/sample_cube/data
 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; }
\ No newline at end of file
+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

http://git-wip-us.apache.org/repos/asf/incubator-kylin/blob/39797666/conf/kylin.properties
----------------------------------------------------------------------
diff --git a/conf/kylin.properties b/conf/kylin.properties
index f607dca..00bc91a 100644
--- a/conf/kylin.properties
+++ b/conf/kylin.properties
@@ -1,7 +1,7 @@
 ## Config for Kylin Engine ##
 
 # List of web servers in use, this enables one web server instance to sync up with other servers.
-kylin.rest.servers=
+kylin.rest.servers=localhost:7070
 
 # The metadata store in hbase
 kylin.metadata.url=kylin_metadata@hbase