[jira] [Commented] (KYLIN-1828) java.lang.StringIndexOutOfBoundsException in org.apache.kylin.storage.hbase.util.StorageCleanupJob

2016-08-24 Thread hongbin ma (JIRA)

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

hongbin ma commented on KYLIN-1828:
---

The patch might need revising as we recently changed segment name convention in 
KYLIN-1859.
Also we need to figure out why so many intermediate tables survived after the 
GC step 
(org.apache.kylin.source.hive.HiveMRInput.BatchCubingInputSide#addStepPhase4_Cleanup)

> java.lang.StringIndexOutOfBoundsException in 
> org.apache.kylin.storage.hbase.util.StorageCleanupJob
> --
>
> Key: KYLIN-1828
> URL: https://issues.apache.org/jira/browse/KYLIN-1828
> Project: Kylin
>  Issue Type: Bug
>  Components: Job Engine
>Affects Versions: v1.5.2.1
>Reporter: Richard Calaba
>Assignee: hongbin ma
> Fix For: v1.5.4
>
> Attachments: 0001-KYLIN-1828-fix-OutOfBounds-StorageCleanupJob.patch
>
>
> While running storage cleanup job:
> ./bin/kylin.sh org.apache.kylin.storage.hbase.util.StorageCleanupJob --delete 
> true
> I see Hive tables in form 
> kylin_intermediate__1970010100_20160701031500
>  in the defaul schema.
> While running the above storage cleaner (v.1.5.2.1 - all previously built 
> Cubes Disabled & Dropped) I am getting an error:
> 2016-06-27 22:28:08,480 INFO  [main StorageCleanupJob:262]: Remove 
> intermediate hive table with job id fc44da88-cffc-4710-8726-ff910cf83451 with 
> job status ERROR
> usage: StorageCleanupJob
>  -deleteDelete the unused storage
> Exception in thread "main" java.lang.StringIndexOutOfBoundsException: String 
> index out of range: -2
> at java.lang.String.substring(String.java:1904)
> at 
> org.apache.kylin.storage.hbase.util.StorageCleanupJob.cleanUnusedIntermediateHiveTable(StorageCleanupJob.java:269)
> at 
> org.apache.kylin.storage.hbase.util.StorageCleanupJob.run(StorageCleanupJob.java:91)
> at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)
> at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:84)
> at 
> org.apache.kylin.storage.hbase.util.StorageCleanupJob.main(StorageCleanupJob.java:308)
> 2016-06-27 22:28:08,486 INFO  [Thread-0 
> HConnectionManager$HConnectionImplementation:1907]: Closing zookeeper 
> sessionid=0x154c97461586119
> 2016-06-27 22:28:08,491 INFO  [Thread-0 ZooKeeper:684]: Session: 
> 0x154c97461586119 closed
> 2016-06-27 22:28:08,491 INFO  [main-EventThread ClientCnxn:509]: EventThread 
> shut down



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (KYLIN-1828) java.lang.StringIndexOutOfBoundsException in org.apache.kylin.storage.hbase.util.StorageCleanupJob

2016-08-24 Thread hongbin ma (JIRA)

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

hongbin ma updated KYLIN-1828:
--
Assignee: Wang Cheng  (was: hongbin ma)

> java.lang.StringIndexOutOfBoundsException in 
> org.apache.kylin.storage.hbase.util.StorageCleanupJob
> --
>
> Key: KYLIN-1828
> URL: https://issues.apache.org/jira/browse/KYLIN-1828
> Project: Kylin
>  Issue Type: Bug
>  Components: Job Engine
>Affects Versions: v1.5.2.1
>Reporter: Richard Calaba
>Assignee: Wang Cheng
> Fix For: v1.5.4
>
> Attachments: 0001-KYLIN-1828-fix-OutOfBounds-StorageCleanupJob.patch
>
>
> While running storage cleanup job:
> ./bin/kylin.sh org.apache.kylin.storage.hbase.util.StorageCleanupJob --delete 
> true
> I see Hive tables in form 
> kylin_intermediate__1970010100_20160701031500
>  in the defaul schema.
> While running the above storage cleaner (v.1.5.2.1 - all previously built 
> Cubes Disabled & Dropped) I am getting an error:
> 2016-06-27 22:28:08,480 INFO  [main StorageCleanupJob:262]: Remove 
> intermediate hive table with job id fc44da88-cffc-4710-8726-ff910cf83451 with 
> job status ERROR
> usage: StorageCleanupJob
>  -deleteDelete the unused storage
> Exception in thread "main" java.lang.StringIndexOutOfBoundsException: String 
> index out of range: -2
> at java.lang.String.substring(String.java:1904)
> at 
> org.apache.kylin.storage.hbase.util.StorageCleanupJob.cleanUnusedIntermediateHiveTable(StorageCleanupJob.java:269)
> at 
> org.apache.kylin.storage.hbase.util.StorageCleanupJob.run(StorageCleanupJob.java:91)
> at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)
> at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:84)
> at 
> org.apache.kylin.storage.hbase.util.StorageCleanupJob.main(StorageCleanupJob.java:308)
> 2016-06-27 22:28:08,486 INFO  [Thread-0 
> HConnectionManager$HConnectionImplementation:1907]: Closing zookeeper 
> sessionid=0x154c97461586119
> 2016-06-27 22:28:08,491 INFO  [Thread-0 ZooKeeper:684]: Session: 
> 0x154c97461586119 closed
> 2016-06-27 22:28:08,491 INFO  [main-EventThread ClientCnxn:509]: EventThread 
> shut down



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (KYLIN-1828) java.lang.StringIndexOutOfBoundsException in org.apache.kylin.storage.hbase.util.StorageCleanupJob

2016-08-24 Thread hongbin ma (JIRA)

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

hongbin ma updated KYLIN-1828:
--
Fix Version/s: v1.5.4

> java.lang.StringIndexOutOfBoundsException in 
> org.apache.kylin.storage.hbase.util.StorageCleanupJob
> --
>
> Key: KYLIN-1828
> URL: https://issues.apache.org/jira/browse/KYLIN-1828
> Project: Kylin
>  Issue Type: Bug
>  Components: Job Engine
>Affects Versions: v1.5.2.1
>Reporter: Richard Calaba
>Assignee: hongbin ma
> Fix For: v1.5.4
>
> Attachments: 0001-KYLIN-1828-fix-OutOfBounds-StorageCleanupJob.patch
>
>
> While running storage cleanup job:
> ./bin/kylin.sh org.apache.kylin.storage.hbase.util.StorageCleanupJob --delete 
> true
> I see Hive tables in form 
> kylin_intermediate__1970010100_20160701031500
>  in the defaul schema.
> While running the above storage cleaner (v.1.5.2.1 - all previously built 
> Cubes Disabled & Dropped) I am getting an error:
> 2016-06-27 22:28:08,480 INFO  [main StorageCleanupJob:262]: Remove 
> intermediate hive table with job id fc44da88-cffc-4710-8726-ff910cf83451 with 
> job status ERROR
> usage: StorageCleanupJob
>  -deleteDelete the unused storage
> Exception in thread "main" java.lang.StringIndexOutOfBoundsException: String 
> index out of range: -2
> at java.lang.String.substring(String.java:1904)
> at 
> org.apache.kylin.storage.hbase.util.StorageCleanupJob.cleanUnusedIntermediateHiveTable(StorageCleanupJob.java:269)
> at 
> org.apache.kylin.storage.hbase.util.StorageCleanupJob.run(StorageCleanupJob.java:91)
> at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)
> at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:84)
> at 
> org.apache.kylin.storage.hbase.util.StorageCleanupJob.main(StorageCleanupJob.java:308)
> 2016-06-27 22:28:08,486 INFO  [Thread-0 
> HConnectionManager$HConnectionImplementation:1907]: Closing zookeeper 
> sessionid=0x154c97461586119
> 2016-06-27 22:28:08,491 INFO  [Thread-0 ZooKeeper:684]: Session: 
> 0x154c97461586119 closed
> 2016-06-27 22:28:08,491 INFO  [main-EventThread ClientCnxn:509]: EventThread 
> shut down



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (KYLIN-1970) System Menu UI ACL issue

2016-08-24 Thread Billy(Yiming) Liu (JIRA)

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

Billy(Yiming) Liu commented on KYLIN-1970:
--

looks good.

> System Menu UI ACL issue
> 
>
> Key: KYLIN-1970
> URL: https://issues.apache.org/jira/browse/KYLIN-1970
> Project: Kylin
>  Issue Type: Bug
>  Components: Web 
>Reporter: julian pan
>Assignee: Zhong,Jason
> Attachments: Kylin System Menu.png, fix_ui_system_menu_acl.patch
>
>
> There is the admin ACL in restful for admin part. But in UI there is no ACL 
> control for it. If I'm not admin user login and click System menu, then I 
> will get the ACL error messages. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (KYLIN-1970) System Menu UI ACL issue

2016-08-24 Thread julian pan (JIRA)

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

julian pan updated KYLIN-1970:
--
Priority: Major  (was: Minor)

> System Menu UI ACL issue
> 
>
> Key: KYLIN-1970
> URL: https://issues.apache.org/jira/browse/KYLIN-1970
> Project: Kylin
>  Issue Type: Bug
>  Components: Web 
>Reporter: julian pan
>Assignee: Zhong,Jason
> Attachments: Kylin System Menu.png, fix_ui_system_menu_acl.patch
>
>
> There is the admin ACL in restful for admin part. But in UI there is no ACL 
> control for it. If I'm not admin user login and click System menu, then I 
> will get the ACL error messages. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (KYLIN-1972) get access denied when query seek to hybrid

2016-08-24 Thread julian pan (JIRA)

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

julian pan updated KYLIN-1972:
--
Priority: Major  (was: Minor)

> get access denied when query seek to hybrid
> ---
>
> Key: KYLIN-1972
> URL: https://issues.apache.org/jira/browse/KYLIN-1972
> Project: Kylin
>  Issue Type: Bug
>  Components: REST Service
>Reporter: julian pan
>Assignee: Zhong,Jason
> Attachments: fix_query_hybrid_access_denied.patch
>
>
> The user who has the rights to visit the cube, but when he/she query cube 
> seek to hybrid, then will get the access denied. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (KYLIN-1972) get access denied when query seek to hybrid

2016-08-24 Thread julian pan (JIRA)

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

julian pan commented on KYLIN-1972:
---

BTW, I'm using the version 1.5.2.1. There is the IIInstance ACL check for my 
branch now. I saw the master already remove invertedindex project. Does it 
means IIInstance will never used in future? And if the yes, could you double 
check RealizationType 
[https://github.com/apache/kylin/blob/master/core-metadata/src/main/java/org/apache/kylin/metadata/realization/RealizationType.java]
 the "INVERTED_INDEX" should be exist or not?

> get access denied when query seek to hybrid
> ---
>
> Key: KYLIN-1972
> URL: https://issues.apache.org/jira/browse/KYLIN-1972
> Project: Kylin
>  Issue Type: Bug
>  Components: REST Service
>Reporter: julian pan
>Assignee: Zhong,Jason
>Priority: Minor
> Attachments: fix_query_hybrid_access_denied.patch
>
>
> The user who has the rights to visit the cube, but when he/she query cube 
> seek to hybrid, then will get the access denied. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (KYLIN-1972) get access denied when query seek to hybrid

2016-08-24 Thread julian pan (JIRA)

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

julian pan updated KYLIN-1972:
--
Attachment: fix_query_hybrid_access_denied.patch

Here is the fix patch.

> get access denied when query seek to hybrid
> ---
>
> Key: KYLIN-1972
> URL: https://issues.apache.org/jira/browse/KYLIN-1972
> Project: Kylin
>  Issue Type: Bug
>  Components: REST Service
>Reporter: julian pan
>Assignee: Zhong,Jason
>Priority: Minor
> Attachments: fix_query_hybrid_access_denied.patch
>
>
> The user who has the rights to visit the cube, but when he/she query cube 
> seek to hybrid, then will get the access denied. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (KYLIN-1972) get access denied when query seek to hybrid

2016-08-24 Thread julian pan (JIRA)

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

julian pan updated KYLIN-1972:
--
Summary: get access denied when query seek to hybrid  (was: get access 
denied when query touch hybrid)

> get access denied when query seek to hybrid
> ---
>
> Key: KYLIN-1972
> URL: https://issues.apache.org/jira/browse/KYLIN-1972
> Project: Kylin
>  Issue Type: Bug
>  Components: REST Service
>Reporter: julian pan
>Assignee: Zhong,Jason
>Priority: Minor
>
> The user who has the rights to visit the cube, but when he/she query cube 
> seek to hybrid, then will get the access denied. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (KYLIN-1972) get access denied when query touch hybrid

2016-08-24 Thread julian pan (JIRA)
julian pan created KYLIN-1972:
-

 Summary: get access denied when query touch hybrid
 Key: KYLIN-1972
 URL: https://issues.apache.org/jira/browse/KYLIN-1972
 Project: Kylin
  Issue Type: Bug
  Components: REST Service
Reporter: julian pan
Assignee: Zhong,Jason
Priority: Minor


The user who has the rights to visit the cube, but when he/she query cube seek 
to hybrid, then will get the access denied. 




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (KYLIN-1971) Cannot support columns with same name under different table

2016-08-24 Thread hongbin ma (JIRA)
hongbin ma created KYLIN-1971:
-

 Summary: Cannot support columns with same name under different 
table
 Key: KYLIN-1971
 URL: https://issues.apache.org/jira/browse/KYLIN-1971
 Project: Kylin
  Issue Type: Improvement
Reporter: hongbin ma
Assignee: hongbin ma
Priority: Minor


currently we implicitly assume all columns in the model have unique names, for 
example, in row key and  aggregation group we use column name (without 
tablename) to identify each column



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (KYLIN-1970) System Menu UI ACL issue

2016-08-24 Thread julian pan (JIRA)

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

julian pan updated KYLIN-1970:
--
Attachment: fix_ui_system_menu_acl.patch

Here is the quick fix for it.

> System Menu UI ACL issue
> 
>
> Key: KYLIN-1970
> URL: https://issues.apache.org/jira/browse/KYLIN-1970
> Project: Kylin
>  Issue Type: Bug
>  Components: Web 
>Reporter: julian pan
>Assignee: Zhong,Jason
>Priority: Minor
> Attachments: Kylin System Menu.png, fix_ui_system_menu_acl.patch
>
>
> There is the admin ACL in restful for admin part. But in UI there is no ACL 
> control for it. If I'm not admin user login and click System menu, then I 
> will get the ACL error messages. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (KYLIN-1970) System Menu UI ACL issue

2016-08-24 Thread julian pan (JIRA)

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

julian pan updated KYLIN-1970:
--
Attachment: Kylin System Menu.png

Here is attached image for detail.

> System Menu UI ACL issue
> 
>
> Key: KYLIN-1970
> URL: https://issues.apache.org/jira/browse/KYLIN-1970
> Project: Kylin
>  Issue Type: Bug
>  Components: Web 
>Reporter: julian pan
>Assignee: Zhong,Jason
>Priority: Minor
> Attachments: Kylin System Menu.png
>
>
> There is the admin ACL in restful for admin part. But in UI there is no ACL 
> control for it. If I'm not admin user login and click System menu, then I 
> will get the ACL error messages. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (KYLIN-1970) System Menu UI ACL issue

2016-08-24 Thread julian pan (JIRA)
julian pan created KYLIN-1970:
-

 Summary: System Menu UI ACL issue
 Key: KYLIN-1970
 URL: https://issues.apache.org/jira/browse/KYLIN-1970
 Project: Kylin
  Issue Type: Bug
  Components: Web 
Reporter: julian pan
Assignee: Zhong,Jason
Priority: Minor


There is the admin ACL in restful for admin part. But in UI there is no ACL 
control for it. If I'm not admin user login and click System menu, then I will 
get the ACL error messages. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (KYLIN-1969) I am interested to develop the web application using java technologies

2016-08-24 Thread VinodReddyPatlolla (JIRA)

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

VinodReddyPatlolla commented on KYLIN-1969:
---

I am good in frontend like html/jsp/ajax/javascript and css and 
servlets/struts/java application with databases like sql server /oracle and 
cassandra database. tools like maven. servers like apache tomcat websever and 
application server like JBOSS/Websphere/Weblogic and IDE Eclipse.etc. please 
look into .
Thanks and Regards
vinod 
vinod.p.re...@gmail.com 

> I am interested to develop the web application using java technologies
> --
>
> Key: KYLIN-1969
> URL: https://issues.apache.org/jira/browse/KYLIN-1969
> Project: Kylin
>  Issue Type: Bug
>  Components: Web 
>Reporter: VinodReddyPatlolla
>Assignee: Zhong,Jason
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (KYLIN-1969) I am interested to develop the web application using java technologies

2016-08-24 Thread VinodReddyPatlolla (JIRA)

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

VinodReddyPatlolla commented on KYLIN-1969:
---

I am using the Cassandr Database. with java technologies. if any devleoping the 
application please send to my  mail i will access and i will work on it. Thank 
you !!!

> I am interested to develop the web application using java technologies
> --
>
> Key: KYLIN-1969
> URL: https://issues.apache.org/jira/browse/KYLIN-1969
> Project: Kylin
>  Issue Type: Bug
>  Components: Web 
>Reporter: VinodReddyPatlolla
>Assignee: Zhong,Jason
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (KYLIN-1969) I am interested to develop the web application using java technologies

2016-08-24 Thread VinodReddyPatlolla (JIRA)
VinodReddyPatlolla created KYLIN-1969:
-

 Summary: I am interested to develop the web application using java 
technologies
 Key: KYLIN-1969
 URL: https://issues.apache.org/jira/browse/KYLIN-1969
 Project: Kylin
  Issue Type: Bug
  Components: Web 
Reporter: VinodReddyPatlolla
Assignee: Zhong,Jason






--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (KYLIN-1968) I am interested to develop the web application using java technologies

2016-08-24 Thread VinodReddyPatlolla (JIRA)
VinodReddyPatlolla created KYLIN-1968:
-

 Summary: I am interested to develop the web application using java 
technologies
 Key: KYLIN-1968
 URL: https://issues.apache.org/jira/browse/KYLIN-1968
 Project: Kylin
  Issue Type: Bug
  Components: Web 
Reporter: VinodReddyPatlolla
Assignee: Zhong,Jason






--
This message was sent by Atlassian JIRA
(v6.3.4#6332)