Member since
11-07-2016
637
Posts
253
Kudos Received
144
Solutions
My Accepted Solutions
Title | Views | Posted |
---|---|---|
2247 | 12-06-2018 12:25 PM | |
2310 | 11-27-2018 06:00 PM | |
1794 | 11-22-2018 03:42 PM | |
2847 | 11-20-2018 02:00 PM | |
5172 | 11-19-2018 03:24 PM |
07-05-2018
08:27 AM
@Takefumi Oide, In addition to the above it also has "Read" , "Write", "ReplAdmin" and "Service Admin" permissions as well. . -Aditya
... View more
07-02-2018
06:01 PM
@Mario Rozario, Did you set any Authorization for the notebook. ? Also try adding the below content to the shiro.ini and restart zeppelin and open the notebook [roles]
role1 = *
role2 = *
role3 = *
admin = * . -Aditya
... View more
06-29-2018
04:57 PM
@Sami Ahmad, To get output in the above format you should not pass the "Accept: text/xml" header. Just try hitting curl --negotiate -u http://hadoop1:17001
... View more
06-29-2018
04:09 PM
@Sami Ahmad, You need to use some XML parsers to parse the results and get the table names to get the desired output you want. https://unix.stackexchange.com/questions/83385/parse-xml-to-get-node-value-in-bash-script
... View more
06-29-2018
03:45 PM
@Sami Ahmad, This is not an issue. You can use some xml formatter to pretty print it since you are getting proper results.
... View more
06-29-2018
03:04 PM
1 Kudo
@Sami Ahmad, You have to use negotiate for all the curl calls curl --negotiate -u -H "Accept: text/xml" http://hadoop1:17001/version
... View more
06-29-2018
02:40 PM
1 Kudo
@kanna k, You can login to the namenode host and check the logs under /var/log/hadoop/hdfs/hdfs-hdfs-namenode-hostname.log . Please "Accept" the answer if this helps. This will be useful for other community users.
... View more
06-28-2018
05:18 PM
@Sami Ahmad, Yes. You can use the hbase REST API to manipulate data in HDP. By default the hbase rest server is not started. You need to start it first To start rest server in foreground # su hbase
# hbase rest start -p {port to start the server} To start in background # su hbase
# /usr/hdp/current/hbase-master/bin/hbase-daemon.sh start rest -p {port to start the server} . Ref: http://hbase.apache.org/book.html#_rest http://blog.cloudera.com/blog/2013/03/how-to-use-the-apache-hbase-rest-interface-part-1/ . You can also use the phoenix query server to do the manipulation using http using sqlline.py. But the interface it not REST. Phoenix is built on Apache Calcite. http://phoenix.apache.org/server.html . Please "Accept" the answer if this helps. -Aditya
... View more
06-27-2018
04:16 PM
@Sami Ahmad, Since you have specified --hbase-table , it will import into hbase rather than HDFS. Ref : https://sqoop.apache.org/docs/1.4.2/SqoopUserGuide.html#_importing_data_into_hbase
... View more
06-27-2018
03:55 PM
@Sami Ahmad, This is just a warning message not an error. This can occur when both target dir and -append are specified with HBase. https://github.com/apache/sqoop/blob/trunk/src/java/org/apache/sqoop/util/AppendUtils.java#L77-L80 . -Aditya
... View more