Member since
10-02-2017
14
Posts
0
Kudos Received
0
Solutions
06-19-2018
12:34 AM
Could someone tell me the answer of below question, why and how? Q. How many partitions shall "intialiy" be created with the following command on spark shell-
sc.textfile("hdfs://user/cloudera/csvfiles")
There are 100 files in directory /user/cloudera/csvfiles and there are 10 nodes running Spark.
a.1
b.10
c.20
d.100
... View more
Labels:
- Labels:
-
Apache Spark
03-07-2018
07:09 PM
hbase master.pid is not getting created, PID for other daemons is generated properly ERROR: no master to stop because no pid file /var/run/hbase/hbase-hbase-master.pid PID files for other hbase daemons: hbase-hbase-regionserver.pid hbase-hbase-rest.pid hbase-hbase-thrift.pid 21391 21623 21955 When i run any command inside hbase shell it give error: Can't get master address from ZooKeeper; znode data == null However I am able to open zookeeper-client shell/prompt. Could you please tell me why hbase master pid file is not getting created? Can I manually create it and put the PID inside? If Yes, what is the PID for hbase-master? Thanks//Sandeep
... View more
Labels:
- Labels:
-
Apache HBase
-
Apache Zookeeper
12-22-2017
05:14 PM
@samurai I already tried these options, none of these work. when i do "su -" followed by password I get this su: cannot set groups: Operation not permitted ls -ltr /usr/bin/sudo -rwxrwxrwx. 1 root root 123832 /usr/bin/sudo 1. Not sure what is the "." at the end of permissions rwx. 2. I have to change the group of this sudo file to '0' but to do that also I should have sudo access, so its an endless loop. 3. I think there is no way to reset it while booting a cloudera machine either. Currently I am working on another VM but I will have to alter all the configurations settings again what I did so far, as when the error occurs.
... View more
12-21-2017
11:34 AM
Hi, @csgunathanks for your reply, this solution wont work. I have been using sudo for a long time but this occurred after a permission change using chmod 777 and now "sudo su" wont work, I am getting below error:- sudo: effective uid is not 0, is sudo installed setuid root?
... View more
12-10-2017
11:43 AM
Hi All- I did some chmod/chown changes on all and since then I am not able to login with root user. sudo command is not working. Tried all the options available online, still getting this error- "sudo: effective uid is not 0, is sudo installed setuid root?" I know that the uid for the file /usr/bin/sudo must be set to 0 but currently it is 1 and i am not able to change it. As soon as I launch the VM it opens with user "cloudera" by default. Is there any way to launch the VM with root user? Anyone know if this can be fixed while restarting the VM? Just want to fix this without re-installing the complete VM. Thanks, appreciate any help/insights on this.
... View more
Labels:
- Labels:
-
Cloudera Manager
-
Quickstart VM
10-22-2017
05:01 PM
Hey, thanks for the post. Adding these two services should fix the auxillary service exception issue. Dont forget to restart the yarn services. Thanks!
... View more
10-02-2017
06:58 PM
Hi Penta, Did it work? Actually Im facing the same issue and this is what I have used: a1.sources.Twitter.consumerKey=XXX a1.sources.Twitter.consumerSecret=XXX a1.sources.Twitter.accessToken=XXX a1.sources.Twitter.accessTokenSecret=XXX I am trying to run the flume agent in cloudera VM. Please advice if you or anyone know the solution. Appreciate your suggestions/help!
... View more