Member since
04-22-2016
931
Posts
46
Kudos Received
26
Solutions
My Accepted Solutions
| Title | Views | Posted |
|---|---|---|
| 1855 | 10-11-2018 01:38 AM | |
| 2217 | 09-26-2018 02:24 AM | |
| 2246 | 06-29-2018 02:35 PM | |
| 2921 | 06-29-2018 02:34 PM | |
| 6098 | 06-20-2018 04:30 PM |
07-25-2017
09:28 PM
if i use the "/tmp" path it does register but doesnt list ? i also moved the jar to the /tmp folder on hiverserver2. 0: jdbc:hive2://hadoop2:10000/default> add JAR /tmp/elasticsearch-hadoop-2.2.0.jar;
INFO : Added [/tmp/elasticsearch-hadoop-2.2.0.jar] to class path
INFO : Added resources: [/tmp/elasticsearch-hadoop-2.2.0.jar]
No rows affected (0.043 seconds)
0: jdbc:hive2://hadoop2:10000/default> list JAR
0: jdbc:hive2://hadoop2:10000/default> list JAR;
+-----------+--+
| resource |
+-----------+--+
+-----------+--+
No rows selected (0.034 seconds)
... View more
07-25-2017
09:01 PM
I am using Kerberos and Ranger both. I can see the tables in beeline but cant add a JAR . [hdfs@hadoop1 ~]$ beeline -u 'jdbc:hive2://hadoop2:10000/default;principal=hive/hadoop2@TOLLS.DOT.STATE.FL.US'
Connecting to jdbc:hive2://hadoop2:10000/default;principal=hive/hadoop2@TOLLS.DOT.STATE.FL.US
Connected to: Apache Hive (version 1.2.1000.2.5.3.0-37)
Driver: Hive JDBC (version 1.2.1000.2.5.3.0-37)
Transaction isolation: TRANSACTION_REPEATABLE_READ
Beeline version 1.2.1000.2.5.3.0-37 by Apache Hive
0: jdbc:hive2://hadoop2:10000/default> add JAR hdfs://hadoop2.tolls.dot.state.fl.us:8020/tmp/elasticsearch-hadoop-2.2.0.jar;
Error: Error while processing statement: Failed to read external resource hdfs://hadoop2.tolls.dot.state.fl.us:8020/tmp/elasticsearch-hadoop-2.2.0.jar (state=,code=1)
0: jdbc:hive2://hadoop2:10000/default> [hdfs@hadoop1 ~]$ ^C
[hdfs@hadoop1 ~]$
[hdfs@hadoop1 ~]$
[hdfs@hadoop1 ~]$ hdfs dfs -ls /tmp/elasticsearch-hadoop-2.2.0.jar
-rwxrwxrwx 3 sami hdfs 756922 2017-07-25 16:30 /tmp/elasticsearch-hadoop-2.2.0.jar
[hdfs@hadoop1 ~]$
... View more
Labels:
07-14-2017
12:29 AM
oh I am sorry the question got posted twice . the website was slow earlier and I must have clicked twice. thanks for your answer
... View more
07-13-2017
02:46 PM
1 Kudo
I am following this article to tune the cluster and its stating a parameter "dfs.data.dirs" , I don't see it in my system ? https://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.6.1/bk_command-line-installation/content/determine-hdp-memory-config.html
... View more
Labels:
07-13-2017
02:43 PM
I am following this article to tune the cluster and its stating a parameter "dfs.data.dirs" , I don't see it in my system ? https://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.6.1/bk_command-line-installation/content/determine-hdp-memory-config.html
... View more
Labels:
07-12-2017
07:15 PM
in ambari nothing is showing is red so I assume its up? from command line I get the following : I also changed the "Infra Solr port" to 8983 but no luck [root@hadoop1 admin]# solr status
Found 1 Solr nodes:
Solr process 19706 from /root/solr-6.3.0/bin/solr-8983.pid not found.
[root@hadoop1 admin]#
[root@hadoop1 admin]#
[root@hadoop1 admin]# solr restart -force
Archiving 1 old GC log files to /root/solr-6.3.0/server/logs/archived
Archiving 1 console log files to /root/solr-6.3.0/server/logs/archived
Rotating solr logs, keeping a max of 9 generations
Waiting up to 180 seconds to see Solr running on port 8983 [|]
Started Solr server on port 8983 (pid=11702). Happy searching!
[root@hadoop1 admin]#
[root@hadoop1 admin]#
... View more
07-12-2017
06:23 PM
the xa_portal.log is showing error
2017-07-12 14:18:16,526 [http-bio-6080-exec-8] ERROR apache.solr.client.solrj.impl.CloudSolrClient (CloudSolrClient.java:903) - Request to collection ranger_audits failed due to (510) org.apache.solr.common.SolrException: Could not find a healthy node to handle the request., retry? 0
2017-07-12 14:18:16,526 [http-bio-6080-exec-8] ERROR org.apache.ranger.solr.SolrUtil (SolrUtil.java:78) - Error from Solr server.
org.apache.solr.common.SolrException: Could not find a healthy node to handle the request.
at org.apache.solr.client.solrj.impl.CloudSolrClient.sendRequest(CloudSolrClient.java:1094)
at org.apache.solr.client.solrj.impl.CloudSolrClient.requestWithRetryOnStaleState(CloudSolrClient.java:870)
at org.apache.solr.client.solrj.impl.CloudSolrClient.request(CloudSolrClient.java:806)
... View more
Labels:
07-12-2017
05:51 PM
ok changing the SOLR-CLOUD to ON fixed the issue. thanks for your help
... View more
07-12-2017
05:24 PM
I have installed Ambari-infra server and its running fine. now if I turn the Audit to Solr option in Ranger its asking me few things , where can I find the solr url ? also where is the ranger_solr username/password used ? should I turn the solr_cloud on ? audit-solr.jpg
... View more
Labels:
07-12-2017
05:02 PM
strange ........ I just deleted everything in the log folder and restarted ambari-infra and now its running fine!
... View more