Hi shaofeng & all:(后面有中文)

I  use Kylin 2.2.0 SNAPSHOT which install by src from Github , but meet two 
problems:


1 When i build a cube by restful api , the code as below

curl -b $KYLIN_HOME/path/to/cookiefile.txt -X PUT -H 'Content-Type: 
application/json' -d '{"startTime":'1451606100000', "endTime":'1483228500000', 
"buildType":"BUILD"}' http://ip:7070/kylin/api/cubes/ZENGLIANG_ZDRY/rebulid

nothiing has happened , then i check logs , error as below
No mapping for HTTP request with URL [/kylin/api/Cubes/ZENGLIANG_ZDRY/rebulid]



I'm sure about the cubeName , because other apis all response SUCCESS.


2 When I use ldap security , user ADMIN can't new a project , and button for  
DataSource load is missing.

kylin.properties as fellows

## Spring security profile, options: testing, ldap, saml
 
## with "testing" profile, user can use pre-defined name/pwd like KYLIN/ADMIN 
to login
 
kylin.security.profile=ldap
 
#
 
## Default roles and admin roles in LDAP, for ldap and saml
 
kylin.security.acl.default-role=ROLE_ANALYST,ROLE_MODELER
 
kylin.security.acl.admin-role=ROLE_KYLIN_ADMIN
 
#
 
## LDAP authentication configuration
 
kylin.security.ldap.connection-server=ldap://ip:389
 
kylin.security.ldap.connection-username=OU=FHZZ,DC=kylin,DC=com
 
kylin.security.ldap.connection-password=uIS3e+hZQiYh4kFrsyjekA==
 
#
 
## LDAP user account directory;
 
kylin.security.ldap.user-search-base=OU=USER,DC=kylin,DC=com
 
kylin.security.ldap.user-search-pattern=(&(cn={0}))
 
kylin.security.ldap.user-group-search-base=OU=ROLE,DC=kylin,DC=com
 
#
 
## LDAP service account directory
 
#kylin.security.ldap.service-search-base=
 
#kylin.security.ldap.service-search-pattern=
 
#kylin.security.ldap.service-group-search-base=

ldap tree:



THANKS!
少峰:
您好!
我已经用KYLIN三周了,感谢您及团队的贡献!我是从Github上下载源码进行安装的,因为最新的源码提供了指定Hbase表空间的配置功能(正是我所需要的)。然后,我在使用restful
 api (增量)构建cube和ldap用户授权管理时,遇到了问题:
1、基于官网文档的操作,restful api 的其他命令都能运行成功,除了(增量)构建cube,报错找不到HTTP URL请求,代码如上;
2、使用ldap进行用户权限管理,我可以实现多用户的登录,以及project的授权,但正当我高兴的时候,发现web页面Datasource导入表页面旁边的三个按钮不见了,并且ADMIN用户也不能新建project,提示no
 access。配置文件和ldap树如上。


谢谢!

Attachment: [email protected]
Description: Binary data

Attachment: [email protected]
Description: Binary data

Reply via email to