Member since
03-17-2016
132
Posts
106
Kudos Received
13
Solutions
My Accepted Solutions
Title | Views | Posted |
---|---|---|
2491 | 03-28-2019 11:16 AM | |
3103 | 03-28-2019 09:19 AM | |
2553 | 02-02-2017 07:52 AM | |
2682 | 10-03-2016 08:08 PM | |
1134 | 09-13-2016 08:00 PM |
02-06-2017
12:46 PM
I have Apache-Nifi installed on my cluster. I want to integrate this with ranger for authorization.
... View more
Labels:
- Labels:
-
Apache NiFi
-
Apache Ranger
02-02-2017
07:52 AM
@Saurabh I can see that ambari.properties.1 file is having permission only for root user and other users can only read that. That should not effect anything.
... View more
01-04-2017
03:22 PM
I got following error message 2017-01-04T15:23:09,819 ERROR [main] exec.TaskRunner: Error in executeTask
java.lang.NoClassDefFoundError: org/apache/tez/serviceplugins/api/TaskScheduler
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:763)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:467)
at java.net.URLClassLoader.access$100(URLClassLoader.java:73)
at java.net.URLClassLoader$1.run(URLClassLoader.java:368)
at java.net.URLClassLoader$1.run(URLClassLoader.java:362)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:361)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at org.apache.hadoop.hive.ql.exec.tez.TezSessionState.<clinit>(TezSessionState.java:102)
at org.apache.hadoop.hive.ql.exec.tez.TezSessionPoolManager.createAndInitSession(TezSessionPoolManager.java:258)
at org.apache.hadoop.hive.ql.exec.tez.TezSessionPoolManager.getNewSessionState(TezSessionPoolManager.java:311)
at org.apache.hadoop.hive.ql.exec.tez.TezSessionPoolManager.getSession(TezSessionPoolManager.java:291)
at org.apache.hadoop.hive.ql.exec.tez.TezSessionPoolManager.getSession(TezSessionPoolManager.java:459)
at org.apache.hadoop.hive.ql.exec.tez.TezSessionPoolManager.getSession(TezSessionPoolManager.java:396)
at org.apache.hadoop.hive.ql.exec.tez.TezTask.execute(TezTask.java:134)
at org.apache.hadoop.hive.ql.exec.Task.executeTask(Task.java:197)
at org.apache.hadoop.hive.ql.exec.TaskRunner.runSequential(TaskRunner.java:100)
at org.apache.hadoop.hive.ql.Driver.launchTask(Driver.java:2073)
at org.apache.hadoop.hive.ql.Driver.execute(Driver.java:1744)
at org.apache.hadoop.hive.ql.Driver.runInternal(Driver.java:1453)
at org.apache.hadoop.hive.ql.Driver.run(Driver.java:1171)
at org.apache.hadoop.hive.ql.Driver.run(Driver.java:1161)
at org.apache.hadoop.hive.cli.CliDriver.processLocalCmd(CliDriver.java:232)
at org.apache.hadoop.hive.cli.CliDriver.processCmd(CliDriver.java:183)
at org.apache.hadoop.hive.cli.CliDriver.processLine(CliDriver.java:399)
at org.apache.hadoop.hive.cli.CliDriver.executeDriver(CliDriver.java:776)
at org.apache.hadoop.hive.cli.CliDriver.run(CliDriver.java:714)
at org.apache.hadoop.hive.cli.CliDriver.main(CliDriver.java:641)
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.apache.hadoop.util.RunJar.run(RunJar.java:233)
at org.apache.hadoop.util.RunJar.main(RunJar.java:148)
Caused by: java.lang.ClassNotFoundException: org.apache.tez.serviceplugins.api.TaskScheduler
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
... 38 more
... View more
01-04-2017
11:41 AM
hive> set hive.execution.engine=tez;
hive> select count(*) from page_view;
Query ID = hive_20170104114317_2a7bd7d5-e1a9-4984-82ba-af3fd4a89967 Total jobs = 1
Launching Job 1 out of 1
FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.tez.TezTask
... View more
Labels:
- Labels:
-
Apache Hive
-
Apache Tez
12-26-2016
10:29 AM
1 Kudo
Below is the error while accessing ambari hive view
"Table 'ambari.DS_JOBIMPL_xxx' doesn't exist"
Do we need to create table prior accessing ambari hive view? I do not see any step for the same in link below -
https://docs.hortonworks.com/HDPDocuments/Ambari-2.1.0.0/bk_ambari_views_guide/content/_configuring_your_cluster_for_hive_view.html
... View more
Labels:
- Labels:
-
Apache Ambari
-
Apache Hive
12-23-2016
04:44 AM
Resetting password worked
... View more
12-22-2016
06:43 PM
I enabled ranger hive plugin but policies are not working and getting sync Below is the error logs - ERROR util.PolicyRefresher (PolicyRefresher.java:loadPolicyfromPolicyAdmin(228)) - PolicyRefresher(serviceName=datametica): failed to refresh policies. Will continue to use last known version of policies (13)
java.lang.IllegalArgumentException: Illegal character in scheme name at index 0: http://dm1.example.com:6080/service/plugins/policies/download/datametica
at java.net.URI.create(URI.java:859)
at com.sun.jersey.api.client.Client.resource(Client.java:433)
at org.apache.ranger.plugin.util.RangerRESTClient.getResource(RangerRESTClient.java:157)
at org.apache.ranger.admin.client.RangerAdminRESTClient.createWebResource(RangerAdminRESTClient.java:162)
at org.apache.ranger.admin.client.RangerAdminRESTClient.getServicePoliciesIfUpdated(RangerAdminRESTClient.java:70)
at org.apache.ranger.plugin.util.PolicyRefresher.loadPolicyfromPolicyAdmin(PolicyRefresher.java:205)
at org.apache.ranger.plugin.util.PolicyRefresher.loadPolicy(PolicyRefresher.java:175)
at org.apache.ranger.plugin.util.PolicyRefresher.run(PolicyRefresher.java:154)
Caused by: java.net.URISyntaxException: Illegal character in scheme name at index 0: http://dm1.example.com:6080/service/plugins/policies/download/datametica
at java.net.URI$Parser.fail(URI.java:2829)
at java.net.URI$Parser.checkChars(URI.java:3002)
at java.net.URI$Parser.checkChar(URI.java:3012)
at java.net.URI$Parser.parse(URI.java:3028)
at java.net.URI.<init>(URI.java:595)
at java.net.URI.create(URI.java:857
... View more
Labels:
- Labels:
-
Apache Ranger