Member since
07-04-2016
63
Posts
141
Kudos Received
10
Solutions
My Accepted Solutions
Title | Views | Posted |
---|---|---|
1415 | 01-23-2018 11:47 AM | |
3469 | 01-02-2018 02:01 PM | |
2215 | 01-02-2018 12:23 PM | |
1215 | 12-26-2017 05:09 PM | |
1010 | 06-23-2017 08:59 AM |
03-17-2017
06:26 AM
4 Kudos
@Carol Elliott can you try the '--target-dir' option. This will import the files into the /dest directory sqoop import --connnect <connect-str> --table <tableName> --target-dir /dest \
... View more
09-27-2016
04:22 PM
2 Kudos
I am implementing storm spout to read from kafka topics. But topology submission is failing with below exception {code} Exception in thread "main" java.lang.NoClassDefFoundError: storm/kafka/BrokerHosts at java.lang.Class.getDeclaredMethods0(Native Method) at java.lang.Class.privateGetDeclaredMethods(Class.java:2701) at java.lang.Class.privateGetMethodRecursive(Class.java:3048) at java.lang.Class.getMethod0(Class.java:3018) at java.lang.Class.getMethod(Class.java:1784) at sun.launcher.LauncherHelper.validateMainClass(LauncherHelper.java:544) at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:526) Caused by: java.lang.ClassNotFoundException: storm.kafka.BrokerHosts 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) {code} Attaching my pom.xml
... View more
Labels:
- Labels:
-
Apache Kafka
-
Apache Storm
09-27-2016
09:43 AM
1 Kudo
@Mourad Chahri Can you please restart only the unhealthy nodemanager and check if its coming up correctly? If it fails, please share the error message. You can find the error message from ambari start service dialogue window. Please let me know if you have any questions regarding this. Happy to help.
... View more
08-23-2016
07:58 AM
1 Kudo
host-list.jpeghost-details.jpeg@James Lee Do you see these unwanted hosts under 'hosts' tab in ambari? Then click on that particular host's page and goto host details page. From the 'hosts action' dropdown, delete the host. Attaching the screenshots.
... View more
08-17-2016
08:22 PM
1 Kudo
@mrizvi I didnt mean that. Its not compulsory for this operation. The api end point which I provided should grant the necessary role. But the issue which you are facing might be due to some corrupted configs and need to be debugged further. Can you please post the output of /var/log/ambari-server/ambari-server.log
... View more
08-17-2016
08:12 PM
1 Kudo
@mrizvi Did you enable ambari server ssl ? From your command I presume your cluster is not https.
... View more
08-17-2016
08:02 PM
1 Kudo
@mrizvi Its not kerberos principle. Its the 'username' to which you want to grant the respective role. For example above api call grants 'SERVICE.OPERATOR' role to 'testuser'.
... View more
08-17-2016
06:41 PM
5 Kudos
@mrizvi You can use below api : curl -iv -u admin:admin -H "X-Requested-By: ambari" -X POST -d '[{"PrivilegeInfo":{"permission_name":"SERVICE.OPERATOR","principal_name":"testuser","principal_type":"USER"}}]' https://<ambari_host>:8080/api/v1/clusters/<cluster_name>/privileges permission_name could be one of the below : CLUSTER.ADMINISTRATOR CLUSTER.OPERATOR SERVICE.ADMINISTRATOR SERVICE.OPERATOR CLUSTER.USER principal_type could be either : USER or GROUP
... View more
08-12-2016
09:36 AM
1 Kudo
@Prakash M Your configs look good.Did you restart hive service after modifying these configs? Please perform these two quick checks : 1) From ambari, go to hive service and check that the config changes you made are reflecting correctly. 2) Restart hive service. (You might need to restart oozie if cluster has this installed) After this try to run the update command.
... View more
08-12-2016
06:45 AM
1 Kudo
@Prakash M Are you seeing any errors or is it that column is not getting updated? Whats the exact issue you are facing?
... View more
- « Previous
- Next »