[jira] [Resolved] (KYLIN-2361) Upgrade to Tomcat 8.X

2017-02-05 Thread Billy Liu (JIRA)

 [ 
https://issues.apache.org/jira/browse/KYLIN-2361?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Billy Liu resolved KYLIN-2361.
--
Resolution: Fixed

> Upgrade to Tomcat 8.X
> -
>
> Key: KYLIN-2361
> URL: https://issues.apache.org/jira/browse/KYLIN-2361
> Project: Kylin
>  Issue Type: Task
>  Components: Web 
>Affects Versions: v1.6.0
>Reporter: Billy Liu
>Assignee: Billy Liu
>Priority: Minor
> Fix For: v2.0.0
>
>
> Apache Tomcat 8.5.x supports the same Servlet, JSP, EL, and WebSocket 
> Specification versions as Apache Tomcat 8.0.x. In addition to that, it also 
> implements the JASPIC 1.1 specification. There are significant changes in 
> many areas under the hood, resulting in improved performance, stability, and 
> total cost of ownership. Please refer to the Apache Tomcat 8.5 Changelog for 
> details.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Commented] (KYLIN-2361) Upgrade to Tomcat 8.X

2017-02-05 Thread Billy Liu (JIRA)

[ 
https://issues.apache.org/jira/browse/KYLIN-2361?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15853606#comment-15853606
 ] 

Billy Liu commented on KYLIN-2361:
--

Code merged. 

> Upgrade to Tomcat 8.X
> -
>
> Key: KYLIN-2361
> URL: https://issues.apache.org/jira/browse/KYLIN-2361
> Project: Kylin
>  Issue Type: Task
>  Components: Web 
>Affects Versions: v1.6.0
>Reporter: Billy Liu
>Assignee: Billy Liu
>Priority: Minor
> Fix For: v2.0.0
>
>
> Apache Tomcat 8.5.x supports the same Servlet, JSP, EL, and WebSocket 
> Specification versions as Apache Tomcat 8.0.x. In addition to that, it also 
> implements the JASPIC 1.1 specification. There are significant changes in 
> many areas under the hood, resulting in improved performance, stability, and 
> total cost of ownership. Please refer to the Apache Tomcat 8.5 Changelog for 
> details.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Commented] (KYLIN-2426) Tests will fail if env not satisfy hardcoded path in ITHDFSResourceStoreTest

2017-02-05 Thread Dong Li (JIRA)

[ 
https://issues.apache.org/jira/browse/KYLIN-2426?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15853555#comment-15853555
 ] 

Dong Li commented on KYLIN-2426:


Merged in master branch. Thanks Kaige.

> Tests will fail if env not satisfy hardcoded path in ITHDFSResourceStoreTest
> 
>
> Key: KYLIN-2426
> URL: https://issues.apache.org/jira/browse/KYLIN-2426
> Project: Kylin
>  Issue Type: Bug
>Reporter:  Kaige Liu
>Assignee:  Kaige Liu
> Fix For: v2.0.0
>
> Attachments: KYLIN-2426-fix-hardcode.patch
>
>
> There are some hardcodes in ITHDFSResourcesStoreTest which will fail if we 
> are not running IT in a sandbox.
> {code}
> public void testFullQalifiedName() throws Exception {
> String oldUrl = kylinConfig.getMetadataUrl();
> String path = 
> "hdfs://sandbox.hortonworks.com:8020/kylin/kylin_metadata/metadata_test2";
> kylinConfig.setProperty("kylin.metadata.url", path + "@hdfs");
> HDFSResourceStore store = new HDFSResourceStore(kylinConfig);
> ResourceStoreTest.testAStore(store);
> kylinConfig.setProperty("kylin.metadata.url", oldUrl);
> assertTrue(fs.exists(new Path(path)));
> }
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Resolved] (KYLIN-2426) Tests will fail if env not satisfy hardcoded path in ITHDFSResourceStoreTest

2017-02-05 Thread Dong Li (JIRA)

 [ 
https://issues.apache.org/jira/browse/KYLIN-2426?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dong Li resolved KYLIN-2426.

   Resolution: Fixed
Fix Version/s: v2.0.0

> Tests will fail if env not satisfy hardcoded path in ITHDFSResourceStoreTest
> 
>
> Key: KYLIN-2426
> URL: https://issues.apache.org/jira/browse/KYLIN-2426
> Project: Kylin
>  Issue Type: Bug
>Reporter:  Kaige Liu
>Assignee:  Kaige Liu
> Fix For: v2.0.0
>
> Attachments: KYLIN-2426-fix-hardcode.patch
>
>
> There are some hardcodes in ITHDFSResourcesStoreTest which will fail if we 
> are not running IT in a sandbox.
> {code}
> public void testFullQalifiedName() throws Exception {
> String oldUrl = kylinConfig.getMetadataUrl();
> String path = 
> "hdfs://sandbox.hortonworks.com:8020/kylin/kylin_metadata/metadata_test2";
> kylinConfig.setProperty("kylin.metadata.url", path + "@hdfs");
> HDFSResourceStore store = new HDFSResourceStore(kylinConfig);
> ResourceStoreTest.testAStore(store);
> kylinConfig.setProperty("kylin.metadata.url", oldUrl);
> assertTrue(fs.exists(new Path(path)));
> }
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Updated] (KYLIN-2426) Tests will fail if env not satisfy hardcoded path in ITHDFSResourceStoreTest

2017-02-05 Thread Kaige Liu (JIRA)

 [ 
https://issues.apache.org/jira/browse/KYLIN-2426?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Kaige Liu updated KYLIN-2426:
-
Attachment: KYLIN-2426-fix-hardcode.patch

Patch attached. Please help review. Thanks.

> Tests will fail if env not satisfy hardcoded path in ITHDFSResourceStoreTest
> 
>
> Key: KYLIN-2426
> URL: https://issues.apache.org/jira/browse/KYLIN-2426
> Project: Kylin
>  Issue Type: Bug
>Reporter:  Kaige Liu
>Assignee:  Kaige Liu
> Attachments: KYLIN-2426-fix-hardcode.patch
>
>
> There are some hardcodes in ITHDFSResourcesStoreTest which will fail if we 
> are not running IT in a sandbox.
> {code}
> public void testFullQalifiedName() throws Exception {
> String oldUrl = kylinConfig.getMetadataUrl();
> String path = 
> "hdfs://sandbox.hortonworks.com:8020/kylin/kylin_metadata/metadata_test2";
> kylinConfig.setProperty("kylin.metadata.url", path + "@hdfs");
> HDFSResourceStore store = new HDFSResourceStore(kylinConfig);
> ResourceStoreTest.testAStore(store);
> kylinConfig.setProperty("kylin.metadata.url", oldUrl);
> assertTrue(fs.exists(new Path(path)));
> }
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Created] (KYLIN-2426) Tests will fail if env not satisfy hardcoded path in ITHDFSResourceStoreTest

2017-02-05 Thread Kaige Liu (JIRA)
 Kaige Liu created KYLIN-2426:
-

 Summary: Tests will fail if env not satisfy hardcoded path in 
ITHDFSResourceStoreTest
 Key: KYLIN-2426
 URL: https://issues.apache.org/jira/browse/KYLIN-2426
 Project: Kylin
  Issue Type: Bug
Reporter:  Kaige Liu


There are some hardcodes in ITHDFSResourcesStoreTest which will fail if we are 
not running IT in a sandbox.
{code}
public void testFullQalifiedName() throws Exception {
String oldUrl = kylinConfig.getMetadataUrl();
String path = 
"hdfs://sandbox.hortonworks.com:8020/kylin/kylin_metadata/metadata_test2";
kylinConfig.setProperty("kylin.metadata.url", path + "@hdfs");
HDFSResourceStore store = new HDFSResourceStore(kylinConfig);
ResourceStoreTest.testAStore(store);
kylinConfig.setProperty("kylin.metadata.url", oldUrl);
assertTrue(fs.exists(new Path(path)));
}
{code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Assigned] (KYLIN-2426) Tests will fail if env not satisfy hardcoded path in ITHDFSResourceStoreTest

2017-02-05 Thread Kaige Liu (JIRA)

 [ 
https://issues.apache.org/jira/browse/KYLIN-2426?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

 Kaige Liu reassigned KYLIN-2426:
-

Assignee:  Kaige Liu

> Tests will fail if env not satisfy hardcoded path in ITHDFSResourceStoreTest
> 
>
> Key: KYLIN-2426
> URL: https://issues.apache.org/jira/browse/KYLIN-2426
> Project: Kylin
>  Issue Type: Bug
>Reporter:  Kaige Liu
>Assignee:  Kaige Liu
>
> There are some hardcodes in ITHDFSResourcesStoreTest which will fail if we 
> are not running IT in a sandbox.
> {code}
> public void testFullQalifiedName() throws Exception {
> String oldUrl = kylinConfig.getMetadataUrl();
> String path = 
> "hdfs://sandbox.hortonworks.com:8020/kylin/kylin_metadata/metadata_test2";
> kylinConfig.setProperty("kylin.metadata.url", path + "@hdfs");
> HDFSResourceStore store = new HDFSResourceStore(kylinConfig);
> ResourceStoreTest.testAStore(store);
> kylinConfig.setProperty("kylin.metadata.url", oldUrl);
> assertTrue(fs.exists(new Path(path)));
> }
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Created] (KYLIN-2425) Cube query gives exception "java.lang.IllegalStateException: Not sorted!"

2017-02-05 Thread Shailesh (JIRA)
Shailesh created KYLIN-2425:
---

 Summary: Cube query gives exception 
"java.lang.IllegalStateException: Not sorted!"
 Key: KYLIN-2425
 URL: https://issues.apache.org/jira/browse/KYLIN-2425
 Project: Kylin
  Issue Type: Bug
  Components: Query Engine
Affects Versions: v1.6.0
Reporter: Shailesh
Assignee: liyang


While performing non aggregate query with limit other than default gives 
"java.lang.IllegalStateException: Not sorted!"

gist of kylin log:  
https://gist.github.com/shaipraj/780a3dcc80aa2080911b7348c76f5b88




--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Resolved] (KYLIN-2418) Refactor pom.xml, drop unused parameter

2017-02-05 Thread liyang (JIRA)

 [ 
https://issues.apache.org/jira/browse/KYLIN-2418?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

liyang resolved KYLIN-2418.
---
   Resolution: Fixed
 Assignee: liyang
Fix Version/s: v2.0.0

> Refactor pom.xml, drop unused parameter
> ---
>
> Key: KYLIN-2418
> URL: https://issues.apache.org/jira/browse/KYLIN-2418
> Project: Kylin
>  Issue Type: Improvement
>Reporter: liyang
>Assignee: liyang
> Fix For: v2.0.0
>
>




--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Resolved] (KYLIN-2421) Add spark engine to Integration Test

2017-02-05 Thread Shaofeng SHI (JIRA)

 [ 
https://issues.apache.org/jira/browse/KYLIN-2421?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Shaofeng SHI resolved KYLIN-2421.
-
Resolution: Fixed

> Add spark engine to Integration Test
> 
>
> Key: KYLIN-2421
> URL: https://issues.apache.org/jira/browse/KYLIN-2421
> Project: Kylin
>  Issue Type: Sub-task
>  Components: Job Engine
>Affects Versions: v2.0.0
>Reporter: Shaofeng SHI
>Assignee: Shaofeng SHI
> Fix For: v2.0.0
>
>
> Let Jenkins to test Spark cubing daily. I have changed the engine type for 
> "ci_inner_join_cube" from "2" (MRV2) to "4" (spark).
> After this change, you need do a couple changes manually in your HDP 2.4 
> sandbox to finish the Integration Test:
> 1. manually install spark-1.6.3-bin-hadoop2.6 in a local folder like 
> /usr/local/spark
> cd /usr/local
> tar -zxvf spark-1.6.3-bin-hadoop2.6.tgz
> ln -s spark-1.6.3-bin-hadoop2.6 spark
> 2. manually upload the spark-assembly jar to HDFS as 
> /kylin/spark/spark-assembly-1.6.3-hadoop2.6.0.jar (avoid repeatedly uploading 
> the jar to HDFS):
> hadoop fs -mkdir /kylin/spark/
> hadoop fs -put /usr/local/spark/lib/spark-assembly-1.6.3-hadoop2.6.0.jar 
> /kylin/spark/
> 3. manually create local temp folder for hbase client (if it doesn't exist):
> mkdir -p /hadoop/hbase/local/jars
> chmod 777 /hadoop/hbase/local/jars
> 4. Specify SPARK_HOME property when run mvn:
> mvn verify -fae -Dhdp.version=2.4.0.0-169 -DSPARK_HOME=/usr/local/spark -P 
> sandbox



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)