[jira] [Resolved] (KYLIN-2316) Build Base Cuboid Data ERROR

2017-04-25 Thread liyang (JIRA)

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

liyang resolved KYLIN-2316.
---
Resolution: Fixed

Rollback previous wrong action.

>  Build Base Cuboid Data ERROR
> -
>
> Key: KYLIN-2316
> URL: https://issues.apache.org/jira/browse/KYLIN-2316
> Project: Kylin
>  Issue Type: Bug
>  Components: General
>Affects Versions: v1.6.0
> Environment: hadoop:cdh 5.7.0
> kylin:apache-kylin-1.6.0-cdh.5.7.0
> system:centos 6.8
>Reporter: konglei
>Assignee: kangkaisen
> Fix For: v2.0.0
>
>
> Dec 23, 2016 3:24:40 PM com.google.common.cache.LocalCache 
> processPendingNotifications
> WARNING: Exception thrown by removal listener
> java.lang.RuntimeException: unexpected evict reason COLLECTED
>   at 
> org.apache.kylin.dict.CachedTreeMap$1.onRemoval(CachedTreeMap.java:155)
>   at 
> com.google.common.cache.LocalCache.processPendingNotifications(LocalCache.java:2004)
>   at 
> com.google.common.cache.LocalCache$Segment.runUnlockedCleanup(LocalCache.java:3490)
>   at 
> com.google.common.cache.LocalCache$Segment.postWriteCleanup(LocalCache.java:3466)
>   at 
> com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2304)
>   at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2228)
>   at com.google.common.cache.LocalCache.get(LocalCache.java:3965)
>   at com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:3969)
>   at 
> com.google.common.cache.LocalCache$LocalManualCache.get(LocalCache.java:4829)
>   at org.apache.kylin.dict.CachedTreeMap.get(CachedTreeMap.java:292)
>   at org.apache.kylin.dict.CachedTreeMap.get(CachedTreeMap.java:52)
>   at 
> org.apache.kylin.dict.AppendTrieDictionary.getIdFromValueBytesImpl(AppendTrieDictionary.java:971)
>   at 
> org.apache.kylin.common.util.Dictionary.getIdFromValueBytes(Dictionary.java:160)
>   at 
> org.apache.kylin.dimension.DictionaryDimEnc.encode(DictionaryDimEnc.java:91)
>   at 
> org.apache.kylin.cube.kv.RowKeyColumnIO.writeColumn(RowKeyColumnIO.java:55)
>   at 
> org.apache.kylin.cube.kv.RowKeyEncoder.fillColumnValue(RowKeyEncoder.java:195)
>   at org.apache.kylin.cube.kv.RowKeyEncoder.encode(RowKeyEncoder.java:163)
>   at 
> org.apache.kylin.engine.mr.steps.BaseCuboidMapperBase.buildKey(BaseCuboidMapperBase.java:151)
>   at 
> org.apache.kylin.engine.mr.steps.BaseCuboidMapperBase.outputKV(BaseCuboidMapperBase.java:198)
>   at 
> org.apache.kylin.engine.mr.steps.HiveToBaseCuboidMapper.map(HiveToBaseCuboidMapper.java:52)
>   at org.apache.hadoop.mapreduce.Mapper.run(Mapper.java:145)
>   at org.apache.hadoop.mapred.MapTask.runNewMapper(MapTask.java:787)
>   at org.apache.hadoop.mapred.MapTask.run(MapTask.java:341)
>   at org.apache.hadoop.mapred.YarnChild$2.run(YarnChild.java:164)
>   at java.security.AccessController.doPrivileged(Native Method)
>   at javax.security.auth.Subject.doAs(Subject.java:415)
>   at 
> org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1693)
>   at org.apache.hadoop.mapred.YarnChild.main(YarnChild.java:158)



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


[jira] [Commented] (KYLIN-2522) Compilation fails with Java 8 when upgrading to hbase 1.2.5

2017-04-25 Thread Ted Yu (JIRA)

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

Ted Yu commented on KYLIN-2522:
---

Compiling against 1.3.1 gave same errors

> Compilation fails with Java 8 when upgrading to hbase 1.2.5
> ---
>
> Key: KYLIN-2522
> URL: https://issues.apache.org/jira/browse/KYLIN-2522
> Project: Kylin
>  Issue Type: Bug
>Reporter: Ted Yu
>
> Compiling master branch with Java 8, I got:
> {code}
> [ERROR] 
> /Users/tyu/kylin/storage-hbase/src/main/java/org/apache/kylin/storage/hbase/util/ZookeeperUtil.java:[23,23]
>  error: cannot find symbol
> [ERROR]   symbol:   class Nullable
>   location: package javax.annotation
> /Users/tyu/kylin/storage-hbase/src/main/java/org/apache/kylin/storage/hbase/util/ZookeeperUtil.java:[45,13]
>  error: cannot find symbol
> [ERROR]   symbol: class Nullable
> /Users/tyu/kylin/storage-hbase/src/main/java/org/apache/kylin/storage/hbase/util/ZookeeperJobLock.java:[112,13]
>  error: cannot find symbol
> [INFO] 3 errors
> {code}



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


[jira] [Updated] (KYLIN-2566) java.io.IOException: Filesystem closed

2017-04-25 Thread sydt (JIRA)

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

sydt updated KYLIN-2566:

Request participants:   (was: )
  Issue Type: Test  (was: Bug)

> java.io.IOException: Filesystem closed
> --
>
> Key: KYLIN-2566
> URL: https://issues.apache.org/jira/browse/KYLIN-2566
> Project: Kylin
>  Issue Type: Test
>Reporter: sydt
>
> Apache-kylin-2.0.0 builds cube and occur error in step Build Dimension 
> Dictionary :
> java.lang.RuntimeException: java.io.IOException: Filesystem closed
>   at 
> org.apache.hive.hcatalog.data.transfer.impl.HCatInputFormatReader$HCatRecordItr.hasNext(HCatInputFormatReader.java:115)
>   at 
> org.apache.kylin.source.hive.HiveTableReader.next(HiveTableReader.java:90)
>   at 
> org.apache.kylin.dict.lookup.SnapshotTable.takeSnapshot(SnapshotTable.java:83)
>   at 
> org.apache.kylin.dict.lookup.SnapshotManager.buildSnapshot(SnapshotManager.java:138)
>   at 
> org.apache.kylin.cube.CubeManager.buildSnapshotTable(CubeManager.java:284)
>   at 
> org.apache.kylin.cube.cli.DictionaryGeneratorCLI.processSegment(DictionaryGeneratorCLI.java:88)
>   at 
> org.apache.kylin.cube.cli.DictionaryGeneratorCLI.processSegment(DictionaryGeneratorCLI.java:53)
>   at 
> org.apache.kylin.engine.mr.steps.CreateDictionaryJob.run(CreateDictionaryJob.java:66)
>   at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)
>   at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:84)
>   at 
> org.apache.kylin.engine.mr.common.HadoopShellExecutable.doWork(HadoopShellExecutable.java:63)
>   at 
> org.apache.kylin.job.execution.AbstractExecutable.execute(AbstractExecutable.java:124)
>   at 
> org.apache.kylin.job.execution.DefaultChainedExecutable.doWork(DefaultChainedExecutable.java:64)
>   at 
> org.apache.kylin.job.execution.AbstractExecutable.execute(AbstractExecutable.java:124)
>   at 
> org.apache.kylin.job.impl.threadpool.DefaultScheduler$JobRunner.run(DefaultScheduler.java:142)
>   at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
>   at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>   at java.lang.Thread.run(Thread.java:745)
> Caused by: java.io.IOException: Filesystem closed
>   at org.apache.hadoop.hdfs.DFSClient.checkOpen(DFSClient.java:794)
>   at 
> org.apache.hadoop.hdfs.DFSInputStream.readWithStrategy(DFSInputStream.java:833)
>   at org.apache.hadoop.hdfs.DFSInputStream.read(DFSInputStream.java:897)
>   at java.io.DataInputStream.read(DataInputStream.java:149)



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


[jira] [Created] (KYLIN-2565) Upgrade Kylin to Hadoop3.0

2017-04-25 Thread Wang Cheng (JIRA)
Wang Cheng created KYLIN-2565:
-

 Summary: Upgrade Kylin to Hadoop3.0
 Key: KYLIN-2565
 URL: https://issues.apache.org/jira/browse/KYLIN-2565
 Project: Kylin
  Issue Type: New Feature
Reporter: Wang Cheng


Hadoop3.0-alpha is released, Kylin should also keep compatible with it. Below 
is the Hadoop3.0 components requirements:

https://cwiki.apache.org/confluence/display/HADOOP/Hadoop+3.0.0+release 






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


[jira] [Commented] (KYLIN-2363) Prune cuboids by capping number of dimensions

2017-04-25 Thread Roger Shi (JIRA)

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

Roger Shi commented on KYLIN-2363:
--

Hi, I have uploaded a design draft. Please let me know if anything not clear. 
Comments are more than welcome.

> Prune cuboids by capping number of dimensions
> -
>
> Key: KYLIN-2363
> URL: https://issues.apache.org/jira/browse/KYLIN-2363
> Project: Kylin
>  Issue Type: Improvement
>Reporter: fengYu
> Attachments: Dimension Capping.md
>
>
> the scene like this:
> I have 20+ dimensions, However the query will only use at most 5 dimensions 
> in all dimensions, so cuboid that contains 5+ dimensions(except base cuboid) 
> is useless.
> I think we can add a configuration in cube, which limit the max dimensions 
> that cuboid includes.
> What's more, we can config which level(number of dimension) need to 
> calculate. in above scene, we only calculate leve 1,2,3,4,5. and skip level 5+



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


[jira] [Updated] (KYLIN-2363) Prune cuboids by capping number of dimensions

2017-04-25 Thread Roger Shi (JIRA)

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

Roger Shi updated KYLIN-2363:
-
Attachment: Dimension Capping.md

> Prune cuboids by capping number of dimensions
> -
>
> Key: KYLIN-2363
> URL: https://issues.apache.org/jira/browse/KYLIN-2363
> Project: Kylin
>  Issue Type: Improvement
>Reporter: fengYu
> Attachments: Dimension Capping.md
>
>
> the scene like this:
> I have 20+ dimensions, However the query will only use at most 5 dimensions 
> in all dimensions, so cuboid that contains 5+ dimensions(except base cuboid) 
> is useless.
> I think we can add a configuration in cube, which limit the max dimensions 
> that cuboid includes.
> What's more, we can config which level(number of dimension) need to 
> calculate. in above scene, we only calculate leve 1,2,3,4,5. and skip level 5+



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


[jira] [Resolved] (KYLIN-2564) Got "UsernameNotFoundException: User XXX does not exist" in new Kylin instance

2017-04-25 Thread hongbin ma (JIRA)

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

hongbin ma resolved KYLIN-2564.
---
   Resolution: Fixed
Fix Version/s: v2.0.0

> Got "UsernameNotFoundException: User XXX does not exist" in new Kylin instance
> --
>
> Key: KYLIN-2564
> URL: https://issues.apache.org/jira/browse/KYLIN-2564
> Project: Kylin
>  Issue Type: Bug
>Affects Versions: v2.0.0
>Reporter: liyang
>Assignee: hongbin ma
> Fix For: v2.0.0
>
>
> In a new Kylin instance, new metadata, we met following exception when 
> creating the very first project.
> {code}
> 2017-04-25 14:04:51,997 ERROR [http-bio-7070-exec-10 ProjectController:218]: 
> Failed to deal with the request.
> org.springframework.security.core.userdetails.UsernameNotFoundException: User 
> ADMIN does not exist. Please make sure the user has logged in before
>   at 
> org.apache.kylin.rest.service.AclService.updateAcl(AclService.java:308)
>   at 
> org.apache.kylin.rest.service.AccessService.grant(AccessService.java:119)
>   at 
> org.apache.kylin.rest.service.AccessService.init(AccessService.java:81)
>   at 
> org.apache.kylin.rest.service.AccessService$$FastClassBySpringCGLIB$$91550c7f.invoke()
>   at 
> org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)
>   at 
> org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:629)
>   at 
> org.apache.kylin.rest.service.AccessService$$EnhancerBySpringCGLIB$$594ff853.init()
>   at 
> org.apache.kylin.rest.service.ProjectService.createProject(ProjectService.java:64)
> {code}



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


[jira] [Assigned] (KYLIN-2249) Build cube error when use "inmem" but ok with "layer"

2017-04-25 Thread XIE FAN (JIRA)

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

XIE FAN reassigned KYLIN-2249:
--

Assignee: XIE FAN

> Build cube error when use "inmem" but ok with "layer"
> -
>
> Key: KYLIN-2249
> URL: https://issues.apache.org/jira/browse/KYLIN-2249
> Project: Kylin
>  Issue Type: Bug
>Affects Versions: v1.6.0
> Environment: CentOS
>Reporter: hoangle
>Assignee: XIE FAN
> Attachments: Cube JSON.txt
>
>   Original Estimate: 410h
>  Remaining Estimate: 410h
>
> My cube building is ok if I set configure:
> kylin.cube.algorithm=layer
> But It always error (at Step Name: Build Cube) when I change "layer" to 
> "inmem"
>  
> 2016-12-05 17:17:37,451 ERROR [Thread-13] 
> org.apache.kylin.dict.TrieDictionary: Not a valid value: 122594010041
> 2016-12-05 17:17:38,452 ERROR [pool-8-thread-1] 
> org.apache.kylin.cube.inmemcubing.DoggedCubeBuilder: Dogged Cube Build error
> java.io.IOException: java.lang.IllegalArgumentException: Value not exists!
>   at 
> org.apache.kylin.cube.inmemcubing.DoggedCubeBuilder$BuildOnce.abort(DoggedCubeBuilder.java:196)
>   at 
> org.apache.kylin.cube.inmemcubing.DoggedCubeBuilder$BuildOnce.checkException(DoggedCubeBuilder.java:169)
>   at 
> org.apache.kylin.cube.inmemcubing.DoggedCubeBuilder$BuildOnce.build(DoggedCubeBuilder.java:116)
>   at 
> org.apache.kylin.cube.inmemcubing.DoggedCubeBuilder.build(DoggedCubeBuilder.java:75)
>   at 
> org.apache.kylin.cube.inmemcubing.AbstractInMemCubeBuilder$1.run(AbstractInMemCubeBuilder.java:82)
>   at 
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
>   at java.util.concurrent.FutureTask.run(FutureTask.java:266)
>   at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
>   at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
>   at java.lang.Thread.run(Thread.java:745)
> Caused by: java.lang.IllegalArgumentException: Value not exists!
>   at 
> org.apache.kylin.common.util.Dictionary.getIdFromValueBytes(Dictionary.java:162)
>   at 
> org.apache.kylin.dict.TrieDictionary.getIdFromValueImpl(TrieDictionary.java:167)
>   at 
> org.apache.kylin.common.util.Dictionary.getIdFromValue(Dictionary.java:98)
>   at 
> org.apache.kylin.dimension.DictionaryDimEnc$DictionarySerializer.serialize(DictionaryDimEnc.java:121)
>   at 
> org.apache.kylin.cube.gridtable.CubeCodeSystem.encodeColumnValue(CubeCodeSystem.java:121)
>   at 
> org.apache.kylin.cube.gridtable.CubeCodeSystem.encodeColumnValue(CubeCodeSystem.java:110)
>   at org.apache.kylin.gridtable.GTRecord.setValues(GTRecord.java:93)
>   at org.apache.kylin.gridtable.GTRecord.setValues(GTRecord.java:81)
>   at 
> org.apache.kylin.cube.inmemcubing.InMemCubeBuilderInputConverter.convert(InMemCubeBuilderInputConverter.java:74)
>   at 
> org.apache.kylin.cube.inmemcubing.InMemCubeBuilder$InputConverter$1.next(InMemCubeBuilder.java:544)
>   at 
> org.apache.kylin.cube.inmemcubing.InMemCubeBuilder$InputConverter$1.next(InMemCubeBuilder.java:525)
>   at 
> org.apache.kylin.gridtable.GTAggregateScanner.iterator(GTAggregateScanner.java:139)
>   at 
> org.apache.kylin.cube.inmemcubing.InMemCubeBuilder.createBaseCuboid(InMemCubeBuilder.java:341)
>   at 
> org.apache.kylin.cube.inmemcubing.InMemCubeBuilder.build(InMemCubeBuilder.java:168)
>   at 
> org.apache.kylin.cube.inmemcubing.InMemCubeBuilder.build(InMemCubeBuilder.java:137)
>   at 
> org.apache.kylin.cube.inmemcubing.DoggedCubeBuilder$SplitThread.run(DoggedCubeBuilder.java:284)



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


[jira] [Updated] (KYLIN-2557) The kylin will start failed because of creating HBase table confict when multiple instances of the kylin are started at the same time.

2017-04-25 Thread peng.jianhua (JIRA)

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

peng.jianhua updated KYLIN-2557:

Attachment: (was: 0001-KYLIN-2557-The-kylin-will-start-failed.patch)

> The kylin will start failed because of creating HBase table confict when 
> multiple instances of the kylin are started at the same time.
> --
>
> Key: KYLIN-2557
> URL: https://issues.apache.org/jira/browse/KYLIN-2557
> Project: Kylin
>  Issue Type: Bug
>  Components: Storage - HBase
>Affects Versions: v2.0.0
>Reporter: peng.jianhua
>Assignee: peng.jianhua
>Priority: Critical
>  Labels: patch
>
> Muliple instances were started at the same time after we installed the kylin. 
> A conflict will occurs because these instances create kylin_metadata_acl 
> table at the same time. The result is that the kylin start failed. The error 
> log is as following:
> Caused by: org.apache.hadoop.hbase.TableExistsException: kylin_metadata_acl
>   at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
>   at 
> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
>   at 
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
>   at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
>   at 
> org.apache.hadoop.ipc.RemoteException.instantiateException(RemoteException.java:106)
>   at 
> org.apache.hadoop.ipc.RemoteException.unwrapRemoteException(RemoteException.java:95)
>   at 
> org.apache.hadoop.hbase.util.ForeignExceptionUtil.toIOException(ForeignExceptionUtil.java:45)
>   at 
> org.apache.hadoop.hbase.client.HBaseAdmin$ProcedureFuture.convertResult(HBaseAdmin.java:4448)
>   at 
> org.apache.hadoop.hbase.client.HBaseAdmin$ProcedureFuture.waitProcedureResult(HBaseAdmin.java:4406)
>   at 
> org.apache.hadoop.hbase.client.HBaseAdmin$ProcedureFuture.get(HBaseAdmin.java:4339)
>   at 
> org.apache.hadoop.hbase.client.HBaseAdmin.createTable(HBaseAdmin.java:674)
>   at 
> org.apache.hadoop.hbase.client.HBaseAdmin.createTable(HBaseAdmin.java:604)
>   at 
> org.apache.kylin.storage.hbase.HBaseConnection.createHTableIfNeeded(HBaseConnection.java:307)
>   at 
> org.apache.kylin.storage.hbase.HBaseConnection.createHTableIfNeeded(HBaseConnection.java:262)
>   at 
> org.apache.kylin.rest.security.RealAclHBaseStorage.prepareHBaseTable(RealAclHBaseStorage.java:50)
>   at 
> org.apache.kylin.rest.security.MockAclHBaseStorage.prepareHBaseTable(MockAclHBaseStorage.java:53)
>   at org.apache.kylin.rest.service.AclService.init(AclService.java:121)
>   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>   at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>   at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>   at java.lang.reflect.Method.invoke(Method.java:606)
>   at 
> org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleElement.invoke(InitDestroyAnnotationBeanPostProcessor.java:344)
>   at 
> org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleMetadata.invokeInitMethods(InitDestroyAnnotationBeanPostProcessor.java:295)
>   at 
> org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:130)
>   ... 125 more



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


[jira] [Assigned] (KYLIN-2564) Got "UsernameNotFoundException: User XXX does not exist" in new Kylin instance

2017-04-25 Thread liyang (JIRA)

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

liyang reassigned KYLIN-2564:
-

Assignee: hongbin ma

> Got "UsernameNotFoundException: User XXX does not exist" in new Kylin instance
> --
>
> Key: KYLIN-2564
> URL: https://issues.apache.org/jira/browse/KYLIN-2564
> Project: Kylin
>  Issue Type: Bug
>Affects Versions: v2.0.0
>Reporter: liyang
>Assignee: hongbin ma
>
> In a new Kylin instance, new metadata, we met following exception when 
> creating the very first project.
> {code}
> 2017-04-25 14:04:51,997 ERROR [http-bio-7070-exec-10 ProjectController:218]: 
> Failed to deal with the request.
> org.springframework.security.core.userdetails.UsernameNotFoundException: User 
> ADMIN does not exist. Please make sure the user has logged in before
>   at 
> org.apache.kylin.rest.service.AclService.updateAcl(AclService.java:308)
>   at 
> org.apache.kylin.rest.service.AccessService.grant(AccessService.java:119)
>   at 
> org.apache.kylin.rest.service.AccessService.init(AccessService.java:81)
>   at 
> org.apache.kylin.rest.service.AccessService$$FastClassBySpringCGLIB$$91550c7f.invoke()
>   at 
> org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)
>   at 
> org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:629)
>   at 
> org.apache.kylin.rest.service.AccessService$$EnhancerBySpringCGLIB$$594ff853.init()
>   at 
> org.apache.kylin.rest.service.ProjectService.createProject(ProjectService.java:64)
> {code}



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


[jira] [Updated] (KYLIN-2564) Got "UsernameNotFoundException: User XXX does not exist" in new Kylin instance

2017-04-25 Thread liyang (JIRA)

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

liyang updated KYLIN-2564:
--
Description: 
In a new Kylin instance, new metadata, we met following exception when creating 
the very first project.

{code}
2017-04-25 14:04:51,997 ERROR [http-bio-7070-exec-10 ProjectController:218]: 
Failed to deal with the request.
org.springframework.security.core.userdetails.UsernameNotFoundException: User 
ADMIN does not exist. Please make sure the user has logged in before
at 
org.apache.kylin.rest.service.AclService.updateAcl(AclService.java:308)
at 
org.apache.kylin.rest.service.AccessService.grant(AccessService.java:119)
at 
org.apache.kylin.rest.service.AccessService.init(AccessService.java:81)
at 
org.apache.kylin.rest.service.AccessService$$FastClassBySpringCGLIB$$91550c7f.invoke()
at 
org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)
at 
org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:629)
at 
org.apache.kylin.rest.service.AccessService$$EnhancerBySpringCGLIB$$594ff853.init()
at 
org.apache.kylin.rest.service.ProjectService.createProject(ProjectService.java:64)
{code}

  was:
In a new Kylin instance, new metadata, we met following exception when creating 
the very first project.

2017-04-25 14:04:51,997 ERROR [http-bio-7070-exec-10 ProjectController:218]: 
Failed to deal with the request.
org.springframework.security.core.userdetails.UsernameNotFoundException: User 
ADMIN does not exist. Please make sure the user has logged in before
at 
org.apache.kylin.rest.service.AclService.updateAcl(AclService.java:308)
at 
org.apache.kylin.rest.service.AccessService.grant(AccessService.java:119)
at 
org.apache.kylin.rest.service.AccessService.init(AccessService.java:81)
at 
org.apache.kylin.rest.service.AccessService$$FastClassBySpringCGLIB$$91550c7f.invoke()
at 
org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)
at 
org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:629)
at 
org.apache.kylin.rest.service.AccessService$$EnhancerBySpringCGLIB$$594ff853.init()
at 
org.apache.kylin.rest.service.ProjectService.createProject(ProjectService.java:64)


> Got "UsernameNotFoundException: User XXX does not exist" in new Kylin instance
> --
>
> Key: KYLIN-2564
> URL: https://issues.apache.org/jira/browse/KYLIN-2564
> Project: Kylin
>  Issue Type: Bug
>Affects Versions: v2.0.0
>Reporter: liyang
>
> In a new Kylin instance, new metadata, we met following exception when 
> creating the very first project.
> {code}
> 2017-04-25 14:04:51,997 ERROR [http-bio-7070-exec-10 ProjectController:218]: 
> Failed to deal with the request.
> org.springframework.security.core.userdetails.UsernameNotFoundException: User 
> ADMIN does not exist. Please make sure the user has logged in before
>   at 
> org.apache.kylin.rest.service.AclService.updateAcl(AclService.java:308)
>   at 
> org.apache.kylin.rest.service.AccessService.grant(AccessService.java:119)
>   at 
> org.apache.kylin.rest.service.AccessService.init(AccessService.java:81)
>   at 
> org.apache.kylin.rest.service.AccessService$$FastClassBySpringCGLIB$$91550c7f.invoke()
>   at 
> org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)
>   at 
> org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:629)
>   at 
> org.apache.kylin.rest.service.AccessService$$EnhancerBySpringCGLIB$$594ff853.init()
>   at 
> org.apache.kylin.rest.service.ProjectService.createProject(ProjectService.java:64)
> {code}



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


[jira] [Created] (KYLIN-2564) Got "UsernameNotFoundException: User XXX does not exist" in new Kylin instance

2017-04-25 Thread liyang (JIRA)
liyang created KYLIN-2564:
-

 Summary: Got "UsernameNotFoundException: User XXX does not exist" 
in new Kylin instance
 Key: KYLIN-2564
 URL: https://issues.apache.org/jira/browse/KYLIN-2564
 Project: Kylin
  Issue Type: Bug
Affects Versions: v2.0.0
Reporter: liyang


In a new Kylin instance, new metadata, we met following exception when creating 
the very first project.

2017-04-25 14:04:51,997 ERROR [http-bio-7070-exec-10 ProjectController:218]: 
Failed to deal with the request.
org.springframework.security.core.userdetails.UsernameNotFoundException: User 
ADMIN does not exist. Please make sure the user has logged in before
at 
org.apache.kylin.rest.service.AclService.updateAcl(AclService.java:308)
at 
org.apache.kylin.rest.service.AccessService.grant(AccessService.java:119)
at 
org.apache.kylin.rest.service.AccessService.init(AccessService.java:81)
at 
org.apache.kylin.rest.service.AccessService$$FastClassBySpringCGLIB$$91550c7f.invoke()
at 
org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)
at 
org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:629)
at 
org.apache.kylin.rest.service.AccessService$$EnhancerBySpringCGLIB$$594ff853.init()
at 
org.apache.kylin.rest.service.ProjectService.createProject(ProjectService.java:64)



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