Member since
05-09-2016
421
Posts
54
Kudos Received
32
Solutions
My Accepted Solutions
Title | Views | Posted |
---|---|---|
2501 | 04-22-2022 11:31 AM | |
2252 | 01-20-2022 11:24 AM | |
2114 | 11-23-2021 12:53 PM | |
2850 | 02-07-2018 12:18 AM | |
4685 | 06-08-2017 09:13 AM |
06-23-2020
04:18 PM
Hi, Nifi is one of the options. See https://community.cloudera.com/t5/Support-Questions/Trouble-converting-JSON-to-AVRO-in-Nifi/td-p/202590
... View more
05-10-2018
03:32 AM
1 Kudo
@Abe Ram Check below link: https://stackoverflow.com/questions/32191260/beeline-equivalent-of-hive-silent-mode Basically add export HADOOP_CLIENT_OPTS="-Djline.terminal=jline.UnsupportedTerminal" before running beeline in background. https://issues.apache.org/jira/browse/HIVE-6758
... View more
05-10-2018
03:30 AM
@Carol Elliott Check this out https://stackoverflow.com/questions/32191260/beeline-equivalent-of-hive-silent-mode
... View more
03-28-2018
10:56 PM
You need to figure out from where this malformed row is coming. You can check this in yarn application log.
... View more
03-28-2018
08:30 PM
@santhosh ch The issue here is with json file. Caused by: com.google.gson.JsonSyntaxException: java.lang.IllegalStateException: Expected a string but was BEGIN_ARRAY You can find the file in log which is malformed.
... View more
02-07-2018
12:22 AM
@PJ Try running set hive.exec.stagingdir=<new location> before running your query.
... View more
02-07-2018
12:18 AM
1 Kudo
@Pee Tankulrat Also make sure that it is not failing back to POSIX permission. Remove all POSIX permission from the directory using hdfs dfs -chmod
... View more
06-08-2017
09:13 AM
THis has been resolved by changing the apllication.properties to atlas-application.properties.
... View more
06-04-2017
06:53 AM
Hi @Chandan Kumar Can you elaborate when you say loading file. What exactly are you doing?
... View more
05-25-2017
07:52 PM
1 Kudo
Currently ranger does not support defining password of default admin users(rangerusersync and rangertagsync) during installation.
This is a security concern if you miss to update the password post installation as default password for these users is same as username, thereby compromising admin access to ranger.
There is plan to address this in future HDP release by allowing to define the passwords for admin users during installation, however for the time being below workaround can be used to enforce password policy.
Once ranger installation is successful one can use below rest api get and put command to change the password of any user.
This is helpful in case of automated cluster installation using ambari blueprint.
To change the password of the user first get the user details using below call: curl -s -u admin:admin -H "Accept: application/json" -H "Content-Type: application/json" -X GET http://h2.openstacklocal:6080/service/xusers/users/2
You will get something like this. {"id":2,"createDate":"2017-05-24T17:36:49Z","updateDate":"2017-05-25T08:09:25Z","owner":"Admin","updatedBy":"Admin","name":"rangerusersync","firstName":"rangerusersync","lastName":"","password":"*******","description":"rangerusersync","groupIdList":[],"groupNameList":[],"status":1,"isVisible":1,"userSource":0,"userRoleList":["ROLE_SYS_ADMIN"]}
Now send the PUT request with the above information after setting required password as give below: curl -iv -u admin:admin -X PUT -H "Accept: application/json" -H "Content-Type: application/json" http://h2.openstacklocal:6080/service/xusers/secure/users/2 -d '{"id":2,"createDate":"2017-05-24T17:36:49Z","updateDate":"2017-05-25T08:09:25Z","owner":"Admin","updatedBy":"Admin","name":"rangerusersync","firstName":"rangerusersync","lastName":"","password":"Password@123","description":"rangerusersync","groupIdList":[],"groupNameList":[],"status":1,"isVisible":1,"userSource":0,"userRoleList":["ROLE_SYS_ADMIN"]}'
PS : To change password of keyadmin user, use keyadmin credentials in REST api call. Thanks @Ronak bansal for testing this.
... View more
Labels: