[jira] [Commented] (ATLAS-3488) Update with Filebased auth password with ShaPasswordEncoder with salt.

2020-06-30 Thread yangchengkai (Jira)


[ 
https://issues.apache.org/jira/browse/ATLAS-3488?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17148549#comment-17148549
 ] 

yangchengkai commented on ATLAS-3488:
-

[~nixon] 
Thanks for apply.
Our company use CDH 6.2.1 to management hadoop cluster, so the hive version of 
CDH 6.2.1 is hive 2.1.1.
Anyway I did not change the hive version to 2.1.1 in my pom cause many Chinese 
blogs tell me not to do so.
I decide to use Atlas 2.0.0 version, because many blogs use 2.0.0 to solve the 
CDH compatible problems.
Again thanks for you help.

> Update with Filebased auth password with ShaPasswordEncoder with salt.
> --
>
> Key: ATLAS-3488
> URL: https://issues.apache.org/jira/browse/ATLAS-3488
> Project: Atlas
>  Issue Type: Improvement
>Reporter: Nixon Rodrigues
>Assignee: Nixon Rodrigues
>Priority: Major
> Fix For: 3.0.0
>
> Attachments: ATLAS-3488.07.patch, ATLAS-3488.6.patch
>
>
> Current password is encoded with {{sha256 method for filebased 
> authentication.}}
>  
> {{Update the password with }}{{sha256}}{{ with salt encoding which is more 
> secured.}}
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (ATLAS-3488) Update with Filebased auth password with ShaPasswordEncoder with salt.

2020-06-30 Thread yangchengkai (Jira)


[ 
https://issues.apache.org/jira/browse/ATLAS-3488?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17148491#comment-17148491
 ] 

yangchengkai commented on ATLAS-3488:
-

[~nixon] 
PS:
Is this the "Invalid salt version" Error caused my 
"org.apache.hadoop.hive.metastore.api.Database.getCatalogName()"ERROR?
I google and baidu around,and did not find the problems like this.

> Update with Filebased auth password with ShaPasswordEncoder with salt.
> --
>
> Key: ATLAS-3488
> URL: https://issues.apache.org/jira/browse/ATLAS-3488
> Project: Atlas
>  Issue Type: Improvement
>Reporter: Nixon Rodrigues
>Assignee: Nixon Rodrigues
>Priority: Major
> Fix For: 3.0.0
>
> Attachments: ATLAS-3488.07.patch, ATLAS-3488.6.patch
>
>
> Current password is encoded with {{sha256 method for filebased 
> authentication.}}
>  
> {{Update the password with }}{{sha256}}{{ with salt encoding which is more 
> secured.}}
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (ATLAS-3488) Update with Filebased auth password with ShaPasswordEncoder with salt.

2020-06-30 Thread yangchengkai (Jira)


[ 
https://issues.apache.org/jira/browse/ATLAS-3488?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17148487#comment-17148487
 ] 

yangchengkai commented on ATLAS-3488:
-

[~nixon],hi:

I can run quick-start.py successfully, this is my output:
root@master:/usr/local/src/atlas/apache-atlas-2.1.0# bin/quick_start.py 
Enter username for atlas :- admin
Enter password for atlas :- 

Creating sample types: 
Created type [DB]
Created type [Table]
Created type [StorageDesc]
Created type [Column]
Created type [LoadProcess]
Created type [LoadProcessExecution]
Created type [View]
Created type [JdbcAccess]
Created type [ETL]
Created type [Metric]
Created type [PII]
Created type [Fact]
Created type [Dimension]
Created type [Log Data]
Created type [Table_DB]
Created type [View_DB]
Created type [View_Tables]
Created type [Table_Columns]
Created type [Table_StorageDesc]

Creating sample entities: 
Created entity of type [DB], guid: 0809e0f7-b772-4521-bc5e-46192e3c0ef1
Created entity of type [DB], guid: 7a4ba630-2c18-49d9-ba65-d127a2b12a28
Created entity of type [DB], guid: 5effe5a7-7b4c-439a-9b3a-c523bebe2dfc
Created entity of type [Table], guid: 33578c65-ad00-4081-9bab-4fad7dfdc379



but when I run the import_hive.sh,it still output the same error on my console:


17:47:40.926 [main] DEBUG org.apache.hadoop.hive.ql.exec.Utilities - Hive Conf 
not found or Session not initiated, use thread based class loader instead
17:47:40.926 [main] DEBUG org.apache.hadoop.hive.ql.exec.Utilities - Hive Conf 
not found or Session not initiated, use thread based class loader instead
17:47:40.926 [main] DEBUG org.apache.hadoop.hive.ql.exec.Utilities - Hive Conf 
not found or Session not initiated, use thread based class loader instead
17:47:40.926 [main] DEBUG org.apache.hadoop.hive.ql.exec.Utilities - Hive Conf 
not found or Session not initiated, use thread based class loader instead
17:47:40.927 [main] DEBUG org.apache.hadoop.hive.ql.exec.Utilities - Hive Conf 
not found or Session not initiated, use thread based class loader instead
17:47:40.927 [main] DEBUG org.apache.hadoop.hive.ql.exec.Utilities - Hive Conf 
not found or Session not initiated, use thread based class loader instead
17:47:40.927 [main] DEBUG org.apache.hadoop.hive.ql.exec.Utilities - Hive Conf 
not found or Session not initiated, use thread based class loader instead
17:47:41.047 [main] DEBUG org.apache.hadoop.security.SecurityUtil - Setting 
hadoop.security.token.service.use_ip to true
17:47:41.058 [main] DEBUG org.apache.hadoop.security.Groups -  Creating new 
Groups object
17:47:41.063 [main] DEBUG org.apache.hadoop.security.Groups - Group mapping 
impl=org.apache.hadoop.security.ShellBasedUnixGroupsMapping; 
cacheTimeout=30; warningDeltaMs=5000
17:47:41.066 [main] DEBUG org.apache.hadoop.security.UserGroupInformation - 
hadoop login
17:47:41.066 [main] DEBUG org.apache.hadoop.security.UserGroupInformation - 
hadoop login commit
17:47:41.067 [main] DEBUG org.apache.hadoop.security.UserGroupInformation - 
using local user:UnixPrincipal: root
17:47:41.067 [main] DEBUG org.apache.hadoop.security.UserGroupInformation - 
Using user: "UnixPrincipal: root" with name root
17:47:41.067 [main] DEBUG org.apache.hadoop.security.UserGroupInformation - 
User entry: "root"
17:47:41.068 [main] DEBUG org.apache.hadoop.security.UserGroupInformation - UGI 
loginUser:root (auth:SIMPLE)
17:47:41.081 [main] INFO  hive.metastore - HMS client filtering is enabled.
17:47:41.081 [main] INFO  hive.metastore - Trying to connect to metastore with 
URI thrift://master:9083
17:47:41.094 [main] INFO  hive.metastore - Opened a connection to metastore, 
current connections: 1
17:47:41.097 [main] DEBUG org.apache.hadoop.security.Groups - GroupCacheLoader 
- load.
17:47:41.114 [main] INFO  hive.metastore - Connected to metastore.
17:47:41.255 [main] INFO  org.apache.atlas.hive.bridge.HiveMetaStoreBridge - 
Importing Hive metadata
17:47:41.260 [main] INFO  org.apache.atlas.hive.bridge.HiveMetaStoreBridge - 
Found 2 databases
17:47:41.264 [main] DEBUG org.apache.atlas.hive.bridge.HiveMetaStoreBridge - 
Searching Atlas for database default
17:47:41.268 [main] DEBUG org.apache.atlas.AtlasBaseClient - 
--
17:47:41.269 [main] DEBUG org.apache.atlas.AtlasBaseClient - Call : GET 
api/atlas/v2/entity/uniqueAttribute/type/
17:47:41.269 [main] DEBUG org.apache.atlas.AtlasBaseClient - Content-type : 
application/json; charset=UTF-8 
17:47:41.269 [main] DEBUG org.apache.atlas.AtlasBaseClient - Accept   : 
application/json 
17:47:41.283 [main] DEBUG org.apache.atlas.AtlasBaseClient - HTTP Status  : 404
Exception in thread "main" java.lang.NoSuchMethodError: 
org.apache.hadoop.hive.metastore.api.Database.getCatalogName()Ljava/lang/String;
at 
org.apache.atlas.hive.bridge.HiveMetaStoreBridge.getDatabaseName(HiveMetaStoreBridge.java:577)
at 
org.apache.

[jira] [Comment Edited] (ATLAS-3488) Update with Filebased auth password with ShaPasswordEncoder with salt.

2020-06-30 Thread yangchengkai (Jira)


[ 
https://issues.apache.org/jira/browse/ATLAS-3488?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17148414#comment-17148414
 ] 

yangchengkai edited comment on ATLAS-3488 at 6/30/20, 8:15 AM:
---

Hi,I got this error in logs/application.log when I run ./bin/import_hive.sh:

 

2020-06-30 15:50:24,815 DEBUG - [pool-2-thread-2:] ~ checkPasswordBCrypt() 
(UserDao:159)
2020-06-30 15:50:24,816 DEBUG - [pool-2-thread-2:] ~ checkPasswordBCrypt(): 
failed (UserDao:168)
java.lang.IllegalArgumentException: Invalid salt version
 at org.springframework.security.crypto.bcrypt.BCrypt.hashpw(BCrypt.java:556)
 at org.springframework.security.crypto.bcrypt.BCrypt.checkpw(BCrypt.java:659)
 at org.apache.atlas.web.dao.UserDao.checkPasswordBCrypt(UserDao.java:165)
 at org.apache.atlas.web.dao.UserDao.checkEncrypted(UserDao.java:144)
 at 
org.apache.atlas.web.security.AtlasFileAuthenticationProvider.authenticate(AtlasFileAuthenticationProvider.java:65)
 at 
org.apache.atlas.web.security.AtlasAuthenticationProvider.authenticate(AtlasAuthenticationProvider.java:143)
 at 
org.springframework.security.authentication.ProviderManager.authenticate(ProviderManager.java:174)
 at 
org.springframework.security.authentication.ProviderManager.authenticate(ProviderManager.java:199)
 at 
org.springframework.security.web.authentication.www.BasicAuthenticationFilter.doFilterInternal(BasicAuthenticationFilter.java:180)
 at 
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
 at 
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
 at 
org.apache.atlas.web.filters.AtlasKnoxSSOAuthenticationFilter.doFilter(AtlasKnoxSSOAuthenticationFilter.java:142)
 at 
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
 at 
org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:200)
 at 
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
 at 
org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:116)
 at 
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
 at 
org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:66)
 at 
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
 at 
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
 at 
org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:105)
 at 
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
 at 
org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:56)
 at 
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
 at 
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
 at 
org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:214)
 at 
org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:177)
 at 
org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:347)
 at 
org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:263)
 at 
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1691)
 at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:582)
 at 
org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
 at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:548)
 at 
org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:226)
 at 
org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1180)
 at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:512)
 at 
org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
 at 
org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1112)
 at 
org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
 at 
org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:134)
 at org.eclipse.jetty.server.Server.handle(Server.java:534)
 at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:320)
 at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:251)
 at 
org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:273)
 at org.eclipse.jetty.io.FillIn

[jira] [Comment Edited] (ATLAS-3488) Update with Filebased auth password with ShaPasswordEncoder with salt.

2020-06-30 Thread yangchengkai (Jira)


[ 
https://issues.apache.org/jira/browse/ATLAS-3488?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17148414#comment-17148414
 ] 

yangchengkai edited comment on ATLAS-3488 at 6/30/20, 8:15 AM:
---

Hi,I got this error in logs/application.log when I run ./bin/import_hive.sh:

 

2020-06-30 15:50:24,815 DEBUG - [pool-2-thread-2:] ~ checkPasswordBCrypt() 
(UserDao:159)
2020-06-30 15:50:24,816 DEBUG - [pool-2-thread-2:] ~ checkPasswordBCrypt(): 
failed (UserDao:168)
java.lang.IllegalArgumentException: Invalid salt version
 at org.springframework.security.crypto.bcrypt.BCrypt.hashpw(BCrypt.java:556)
 at org.springframework.security.crypto.bcrypt.BCrypt.checkpw(BCrypt.java:659)
 at org.apache.atlas.web.dao.UserDao.checkPasswordBCrypt(UserDao.java:165)
 at org.apache.atlas.web.dao.UserDao.checkEncrypted(UserDao.java:144)
 at 
org.apache.atlas.web.security.AtlasFileAuthenticationProvider.authenticate(AtlasFileAuthenticationProvider.java:65)
 at 
org.apache.atlas.web.security.AtlasAuthenticationProvider.authenticate(AtlasAuthenticationProvider.java:143)
 at 
org.springframework.security.authentication.ProviderManager.authenticate(ProviderManager.java:174)
 at 
org.springframework.security.authentication.ProviderManager.authenticate(ProviderManager.java:199)
 at 
org.springframework.security.web.authentication.www.BasicAuthenticationFilter.doFilterInternal(BasicAuthenticationFilter.java:180)
 at 
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
 at 
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
 at 
org.apache.atlas.web.filters.AtlasKnoxSSOAuthenticationFilter.doFilter(AtlasKnoxSSOAuthenticationFilter.java:142)
 at 
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
 at 
org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:200)
 at 
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
 at 
org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:116)
 at 
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
 at 
org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:66)
 at 
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
 at 
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
 at 
org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:105)
 at 
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
 at 
org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:56)
 at 
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
 at 
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
 at 
org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:214)
 at 
org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:177)
 at 
org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:347)
 at 
org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:263)
 at 
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1691)
 at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:582)
 at 
org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
 at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:548)
 at 
org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:226)
 at 
org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1180)
 at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:512)
 at 
org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
 at 
org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1112)
 at 
org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
 at 
org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:134)
 at org.eclipse.jetty.server.Server.handle(Server.java:534)
 at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:320)
 at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:251)
 at 
org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:273)
 at org.eclipse.jetty.io.FillIn

[jira] [Commented] (ATLAS-3488) Update with Filebased auth password with ShaPasswordEncoder with salt.

2020-06-30 Thread yangchengkai (Jira)


[ 
https://issues.apache.org/jira/browse/ATLAS-3488?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17148414#comment-17148414
 ] 

yangchengkai commented on ATLAS-3488:
-

Hi,I got this error in logs/application.log when I run ./bin/import_hive.sh:

 

2020-06-30 15:50:24,815 DEBUG - [pool-2-thread-2:] ~ checkPasswordBCrypt() 
(UserDao:159)
2020-06-30 15:50:24,816 DEBUG - [pool-2-thread-2:] ~ checkPasswordBCrypt(): 
failed (UserDao:168)
java.lang.IllegalArgumentException: Invalid salt version
 at org.springframework.security.crypto.bcrypt.BCrypt.hashpw(BCrypt.java:556)
 at org.springframework.security.crypto.bcrypt.BCrypt.checkpw(BCrypt.java:659)
 at org.apache.atlas.web.dao.UserDao.checkPasswordBCrypt(UserDao.java:165)
 at org.apache.atlas.web.dao.UserDao.checkEncrypted(UserDao.java:144)
 at 
org.apache.atlas.web.security.AtlasFileAuthenticationProvider.authenticate(AtlasFileAuthenticationProvider.java:65)
 at 
org.apache.atlas.web.security.AtlasAuthenticationProvider.authenticate(AtlasAuthenticationProvider.java:143)
 at 
org.springframework.security.authentication.ProviderManager.authenticate(ProviderManager.java:174)
 at 
org.springframework.security.authentication.ProviderManager.authenticate(ProviderManager.java:199)
 at 
org.springframework.security.web.authentication.www.BasicAuthenticationFilter.doFilterInternal(BasicAuthenticationFilter.java:180)
 at 
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
 at 
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
 at 
org.apache.atlas.web.filters.AtlasKnoxSSOAuthenticationFilter.doFilter(AtlasKnoxSSOAuthenticationFilter.java:142)
 at 
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
 at 
org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:200)
 at 
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
 at 
org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:116)
 at 
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
 at 
org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:66)
 at 
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
 at 
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
 at 
org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:105)
 at 
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
 at 
org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:56)
 at 
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
 at 
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
 at 
org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:214)
 at 
org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:177)
 at 
org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:347)
 at 
org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:263)
 at 
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1691)
 at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:582)
 at 
org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
 at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:548)
 at 
org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:226)
 at 
org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1180)
 at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:512)
 at 
org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
 at 
org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1112)
 at 
org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
 at 
org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:134)
 at org.eclipse.jetty.server.Server.handle(Server.java:534)
 at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:320)
 at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:251)
 at 
org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:273)
 at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:95)
 at 
org.ecli

[jira] [Comment Edited] (ATLAS-3014) Could not transfer artifact org.apache:apache:xml:site_en:17

2020-06-15 Thread yangchengkai (Jira)


[ 
https://issues.apache.org/jira/browse/ATLAS-3014?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17136324#comment-17136324
 ] 

yangchengkai edited comment on ATLAS-3014 at 6/16/20, 5:52 AM:
---

I got the similar error too.

I solve this problem by set

<{color:#0033b3}properties{color}>
 <{color:#0033b3}skipTests{color}>true
 <{color:#0033b3}skipSite{color}>true
 

{color:#0033b3}in docs's pom(atlas-docs) file.{color}


was (Author: 18810276...@163.com):
I got the simlie error too.

I solve this problem by set

<{color:#0033b3}properties{color}>
 <{color:#0033b3}skipTests{color}>true
 <{color:#0033b3}skipSite{color}>true


{color:#0033b3}in docs's pom(atlas-docs) file.{color}

> Could not transfer artifact org.apache:apache:xml:site_en:17
> 
>
> Key: ATLAS-3014
> URL: https://issues.apache.org/jira/browse/ATLAS-3014
> Project: Atlas
>  Issue Type: Bug
>  Components: atlas-webui
>Affects Versions: 1.1.0
>Reporter: shawn dang
>Priority: Major
>
> [ERROR] Failed to execute goal 
> org.apache.maven.plugins:maven-site-plugin:3.7:site (default) on project 
> atlas-docs: SiteToolException: The site descriptor cannot be resolved from 
> the repository: ArtifactResolutionException: Unable to locate site 
> descriptor: Could not transfer artifact org.apache:apache:xml:site_en:17 
> from/to apache.snapshots.repo 
> (https://repository.apache.org/content/groups/snapshots): 
> sun.security.validator.ValidatorException: PKIX path validation failed: 
> java.security.cert.CertPathValidatorException: validity check failed
> [ERROR]   org.apache:apache:xml:17
> [ERROR] 
> [ERROR] from the specified remote repositories:
> [ERROR]   alimaven (http://maven.aliyun.com/nexus/content/groups/public/, 
> releases=true, snapshots=false),
> [ERROR]   hortonworks.repo 
> (http://repo.hortonworks.com/content/repositories/releases, releases=true, 
> snapshots=false),
> [ERROR]   apache.snapshots.repo 
> (https://repository.apache.org/content/groups/snapshots, releases=true, 
> snapshots=true),
> [ERROR]   apache-staging 
> (https://repository.apache.org/content/groups/staging/, releases=true, 
> snapshots=true),
> [ERROR]   default (https://repository.apache.org/content/groups/public/, 
> releases=true, snapshots=true),
> [ERROR]   java.net-Public (https://maven.java.net/content/groups/public/, 
> releases=true, snapshots=true),
> [ERROR]   repository.jboss.org-public 
> (https://repository.jboss.org/nexus/content/groups/public, releases=true, 
> snapshots=true),
> [ERROR]   typesafe (http://repo.typesafe.com/typesafe/releases/, 
> releases=true, snapshots=true),
> [ERROR]   apache.snapshots (http://repository.apache.org/snapshots, 
> releases=false, snapshots=true)
> [ERROR] : NotBefore: Sun Oct 07 20:00:00 EDT 2018
> [ERROR] -> [Help 1]
> [ERROR] 
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
> switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR] 
> [ERROR] For more information about the errors and possible solutions, please 
> read the following articles:
> [ERROR] [Help 1] 
> http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
> [ERROR] 
> [ERROR] After correcting the problems, you can resume the build with the 
> command
> [ERROR]   mvn  -rf :atlas-docs



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (ATLAS-3014) Could not transfer artifact org.apache:apache:xml:site_en:17

2020-06-15 Thread yangchengkai (Jira)


[ 
https://issues.apache.org/jira/browse/ATLAS-3014?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17136324#comment-17136324
 ] 

yangchengkai commented on ATLAS-3014:
-

I got the simlie error too.

I solve this problem by set

<{color:#0033b3}properties{color}>
 <{color:#0033b3}skipTests{color}>true
 <{color:#0033b3}skipSite{color}>true


{color:#0033b3}in docs's pom(atlas-docs) file.{color}

> Could not transfer artifact org.apache:apache:xml:site_en:17
> 
>
> Key: ATLAS-3014
> URL: https://issues.apache.org/jira/browse/ATLAS-3014
> Project: Atlas
>  Issue Type: Bug
>  Components: atlas-webui
>Affects Versions: 1.1.0
>Reporter: shawn dang
>Priority: Major
>
> [ERROR] Failed to execute goal 
> org.apache.maven.plugins:maven-site-plugin:3.7:site (default) on project 
> atlas-docs: SiteToolException: The site descriptor cannot be resolved from 
> the repository: ArtifactResolutionException: Unable to locate site 
> descriptor: Could not transfer artifact org.apache:apache:xml:site_en:17 
> from/to apache.snapshots.repo 
> (https://repository.apache.org/content/groups/snapshots): 
> sun.security.validator.ValidatorException: PKIX path validation failed: 
> java.security.cert.CertPathValidatorException: validity check failed
> [ERROR]   org.apache:apache:xml:17
> [ERROR] 
> [ERROR] from the specified remote repositories:
> [ERROR]   alimaven (http://maven.aliyun.com/nexus/content/groups/public/, 
> releases=true, snapshots=false),
> [ERROR]   hortonworks.repo 
> (http://repo.hortonworks.com/content/repositories/releases, releases=true, 
> snapshots=false),
> [ERROR]   apache.snapshots.repo 
> (https://repository.apache.org/content/groups/snapshots, releases=true, 
> snapshots=true),
> [ERROR]   apache-staging 
> (https://repository.apache.org/content/groups/staging/, releases=true, 
> snapshots=true),
> [ERROR]   default (https://repository.apache.org/content/groups/public/, 
> releases=true, snapshots=true),
> [ERROR]   java.net-Public (https://maven.java.net/content/groups/public/, 
> releases=true, snapshots=true),
> [ERROR]   repository.jboss.org-public 
> (https://repository.jboss.org/nexus/content/groups/public, releases=true, 
> snapshots=true),
> [ERROR]   typesafe (http://repo.typesafe.com/typesafe/releases/, 
> releases=true, snapshots=true),
> [ERROR]   apache.snapshots (http://repository.apache.org/snapshots, 
> releases=false, snapshots=true)
> [ERROR] : NotBefore: Sun Oct 07 20:00:00 EDT 2018
> [ERROR] -> [Help 1]
> [ERROR] 
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
> switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR] 
> [ERROR] For more information about the errors and possible solutions, please 
> read the following articles:
> [ERROR] [Help 1] 
> http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
> [ERROR] 
> [ERROR] After correcting the problems, you can resume the build with the 
> command
> [ERROR]   mvn  -rf :atlas-docs



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (ATLAS-3401) Maven Package Failure

2020-06-15 Thread yangchengkai (Jira)


[ 
https://issues.apache.org/jira/browse/ATLAS-3401?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17136320#comment-17136320
 ] 

yangchengkai commented on ATLAS-3401:
-

This should be some network problems.You can copy and paste the url (the url 
you stucked in) in web browser to check if this is a maven network problem.

Also,if you from China like me,I think you should set aliyun repo in your 
~/.m2/settings.xml file.And set your proxy in ~/.m2/settings.xml too.

> Maven Package Failure
> -
>
> Key: ATLAS-3401
> URL: https://issues.apache.org/jira/browse/ATLAS-3401
> Project: Atlas
>  Issue Type: Bug
>Reporter: duqunxing
>Priority: Blocker
> Attachments: image-2019-09-06-14-27-58-626.png, 
> image-2019-09-06-14-28-25-894.png
>
>
> when package ,the progress is always stuck here.
> windows10
> jdk8
> maven3.6.2
>  
> !image-2019-09-06-14-27-58-626.png!
> !image-2019-09-06-14-28-25-894.png!



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (ATLAS-3166) Exception while starting Atlas with hbase

2020-06-15 Thread yangchengkai (Jira)


[ 
https://issues.apache.org/jira/browse/ATLAS-3166?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17136314#comment-17136314
 ] 

yangchengkai commented on ATLAS-3166:
-

This seems to be some solr and zookeeper compatible problems.I solve this 
problem by update my solr to 8.5.2 and my zookeeper to 3.5.8.

[incompatibility-between-solr-7-7-1-web-admin-and-zookeeper-3-5-5|https://stackoverflow.com/questions/56786300/incompatibility-between-solr-7-7-1-web-admin-and-zookeeper-3-5-5]

> Exception while starting Atlas with hbase
> -
>
> Key: ATLAS-3166
> URL: https://issues.apache.org/jira/browse/ATLAS-3166
> Project: Atlas
>  Issue Type: Bug
>  Components:  atlas-core
>Affects Versions: 2.0.0
> Environment: dev
>Reporter: Chaitra Rao
>Priority: Critical
>
> When I try to start Atlas (2.0.0-SNAPSHOT), I get the following error -
>  
>  
> 2019-04-24 18:54:34,637 INFO  - [main:] ~ Server starting with TLS ? false on 
> port 21000 (Atlas:217)
> 2019-04-24 18:54:34,637 INFO  - [main:] ~ < 
> (Atlas:218)
> 2019-04-24 18:54:35,259 INFO  - [main:] ~ No authentication method 
> configured.  Defaulting to simple authentication (LoginProcessor:102)
> 2019-04-24 18:54:35,399 WARN  - [main:] ~ Unable to load native-hadoop 
> library for your platform... using builtin-java classes where applicable 
> (NativeCodeLoader:60)
> 2019-04-24 18:54:35,433 INFO  - [main:] ~ Logged in user root (auth:SIMPLE) 
> (LoginProcessor:77)
> 2019-04-24 18:54:35,970 INFO  - [main:] ~ Not running setup per configuration 
> atlas.server.run.setup.on.start. (SetupSteps$SetupRequired:189)
> 2019-04-24 18:54:48,714 WARN  - [main:] ~ 
> org.apache.solr.client.solrj.impl.Krb5HttpClientBuilder is configured without 
> specifying system property 'java.security.auth.login.config' 
> (Krb5HttpClientBuilder:142)
> 2019-04-24 18:54:48,950 INFO  - [main:] ~ Failed to obtain graph instance, 
> retrying 3 times, error: java.lang.IllegalArgumentException: Could not 
> instantiate implementation: org.janusgraph.diskstorage.solr.Solr6Index 
> (AtlasGraphProvider:100)
> 2019-04-24 18:55:19,029 WARN  - [main:] ~ 
> org.apache.solr.client.solrj.impl.Krb5HttpClientBuilder is configured without 
> specifying system property 'java.security.auth.login.config' 
> (Krb5HttpClientBuilder:142)
> 2019-04-24 18:55:19,035 WARN  - [main:] ~ Failed to obtain graph instance on 
> attempt 1 of 3 (AtlasGraphProvider:118)
> java.lang.IllegalArgumentException: Could not instantiate implementation: 
> org.janusgraph.diskstorage.solr.Solr6Index
> at 
> org.janusgraph.util.system.ConfigurationUtil.instantiate(ConfigurationUtil.java:64)
> at org.janusgraph.diskstorage.Backend.getImplementationClass(Backend.java:476)
> at org.janusgraph.diskstorage.Backend.getIndexes(Backend.java:463)
> at org.janusgraph.diskstorage.Backend.(Backend.java:148)
> at 
> org.janusgraph.graphdb.configuration.GraphDatabaseConfiguration.getBackend(GraphDatabaseConfiguration.java:1840)
> at 
> org.janusgraph.graphdb.database.StandardJanusGraph.(StandardJanusGraph.java:138)
> at org.janusgraph.core.JanusGraphFactory.open(JanusGraphFactory.java:160)
> at org.janusgraph.core.JanusGraphFactory.open(JanusGraphFactory.java:131)
> at org.janusgraph.core.JanusGraphFactory.open(JanusGraphFactory.java:111)
> at 
> org.apache.atlas.repository.graphdb.janus.AtlasJanusGraphDatabase.getGraphInstance(AtlasJanusGraphDatabase.java:165)
> at 
> org.apache.atlas.repository.graphdb.janus.AtlasJanusGraphDatabase.getGraph(AtlasJanusGraphDatabase.java:263)
> at 
> org.apache.atlas.repository.graph.AtlasGraphProvider.getGraphInstance(AtlasGraphProvider.java:52)
> at 
> org.apache.atlas.repository.graph.AtlasGraphProvider.retry(AtlasGraphProvider.java:114)
> at 
> org.apache.atlas.repository.graph.AtlasGraphProvider.get(AtlasGraphProvider.java:102)
> at 
> org.apache.atlas.repository.graph.AtlasGraphProvider$$EnhancerBySpringCGLIB$$375c3cc3.CGLIB$get$1()
> at 
> org.apache.atlas.repository.graph.AtlasGraphProvider$$EnhancerBySpringCGLIB$$375c3cc3$$FastClassBySpringCGLIB$$86ea7f4c.invoke()
> at 
> org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:228)
> at 
> org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:358)
> at 
> org.apache.atlas.repository.graph.AtlasGraphProvider$$EnhancerBySpringCGLIB$$375c3cc3.get()
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:498)
> at 
> org.springframework.beans.factory.support.SimpleInstantiationStrategy.instanti