You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kylin.apache.org by ma...@apache.org on 2015/07/27 07:40:36 UTC

[1/2] incubator-kylin git commit: bug fix

Repository: incubator-kylin
Updated Branches:
  refs/heads/0.7-staging 212c59194 -> 0391b3101


bug fix


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

Branch: refs/heads/0.7-staging
Commit: 0391b310156cab6eec259e950790770941eb46dd
Parents: faa52c7
Author: honma <ho...@ebay.com>
Authored: Mon Jul 27 13:40:25 2015 +0800
Committer: honma <ho...@ebay.com>
Committed: Mon Jul 27 13:40:41 2015 +0800

----------------------------------------------------------------------
 .../java/org/apache/kylin/job/common/HadoopCmdOutput.java    | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-kylin/blob/0391b310/job/src/main/java/org/apache/kylin/job/common/HadoopCmdOutput.java
----------------------------------------------------------------------
diff --git a/job/src/main/java/org/apache/kylin/job/common/HadoopCmdOutput.java b/job/src/main/java/org/apache/kylin/job/common/HadoopCmdOutput.java
index 288fd31..0db71a6 100644
--- a/job/src/main/java/org/apache/kylin/job/common/HadoopCmdOutput.java
+++ b/job/src/main/java/org/apache/kylin/job/common/HadoopCmdOutput.java
@@ -18,10 +18,10 @@
 
 package org.apache.kylin.job.common;
 
-import org.apache.kylin.job.constant.ExecutableConstants;
 import org.apache.hadoop.mapreduce.Counters;
 import org.apache.hadoop.mapreduce.Job;
 import org.apache.hadoop.mapreduce.TaskCounter;
+import org.apache.kylin.job.constant.ExecutableConstants;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 
@@ -80,7 +80,7 @@ public class HadoopCmdOutput {
     public String getHdfsBytesRead() {
         return hdfsBytesRead;
     }
-    
+
     public void updateJobCounter() {
         try {
             Counters counters = job.getCounters();
@@ -99,6 +99,10 @@ public class HadoopCmdOutput {
         } catch (Exception e) {
             log.error(e.getLocalizedMessage(), e);
             output.append(e.getLocalizedMessage());
+
+            mapInputRecords = "0";
+            hdfsBytesWritten = "0";
+            hdfsBytesRead = "0";
         }
     }
 


[2/2] incubator-kylin git commit: KYLIN-908 Help community developer to setup develop/debug environment

Posted by ma...@apache.org.
KYLIN-908 Help community developer to setup develop/debug environment


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

Branch: refs/heads/0.7-staging
Commit: faa52c727dad9e32ad310dc2ff7ba19691c44882
Parents: 212c591
Author: honma <ho...@ebay.com>
Authored: Mon Jul 27 11:04:39 2015 +0800
Committer: honma <ho...@ebay.com>
Committed: Mon Jul 27 13:40:41 2015 +0800

----------------------------------------------------------------------
 website/_docs/howto/howto_docs.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-kylin/blob/faa52c72/website/_docs/howto/howto_docs.md
----------------------------------------------------------------------
diff --git a/website/_docs/howto/howto_docs.md b/website/_docs/howto/howto_docs.md
index 510a0ba..36286db 100644
--- a/website/_docs/howto/howto_docs.md
+++ b/website/_docs/howto/howto_docs.md
@@ -118,7 +118,7 @@ Then access http://127.0.0.1:4000 in your browser.
 
 ### Setup
 
-1. `cd docs/website`
+1. `cd website`
 2. `svn co https://svn.apache.org/repos/asf/incubator/kylin/site _site`
 3. `sudo apt-get install rubygems ruby2.1-dev zlib1g-dev` (linux)
 4. `sudo gem install bundler github-pages jekyll`