Member since
01-25-2017
9
Posts
2
Kudos Received
0
Solutions
02-17-2017
04:41 AM
2 Kudos
p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo; color: #000000; background-color: #ffffff}
p.p2 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo; color: #000000; background-color: #ffffff; min-height: 13.0px}
span.s1 {font-variant-ligatures: no-common-ligatures} [root@sandbox lucid]# rpm -ivh lucidworks-hdpsearch-2.5-100.noarch.rpm Preparing... ########################################### [100%] Executing pre-install script ==== ERROR: Your Linux distribution (Linux version 4.9.8-moby (root@1d811a9194c4) (gcc version 5.3.0 (Alpine 5.3.0) ) #1 SMP Wed Feb 8 09:56:43 UTC 2017) is not supported by this script! ==== error: %pre(lucidworks-hdpsearch-0:2.5-100.noarch) scriptlet failed, exit status 1 error: install: %pre scriptlet failed (2), skipping lucidworks-hdpsearch-0:2.5-100 It's happening because of the prescript that checks
if[[ $proc_version ==*"Debian"*]];then distro=Debian elif[[ $proc_version ==*"Red Hat"*]];then distro=RedHat elif[[ $proc_version ==*"Ubuntu"*]];then distro=Ubuntu elif[[ $proc_version ==*"SUSE"*]];then distro=SUSE But HDP output of: uname -a: p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo; color: #000000; background-color: #ffffff}
span.s1 {font-variant-ligatures: no-common-ligatures} Linux sandbox.hortonworks.com 4.9.8-moby #1 SMP Wed Feb 8 09:56:43 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux cat /proc/redhad-release: p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo; color: #000000; background-color: #ffffff}
span.s1 {font-variant-ligatures: no-common-ligatures} Linux version 4.9.8-moby (root@1d811a9194c4) (gcc version 5.3.0 (Alpine 5.3.0) ) #1 SMP Wed Feb 8 09:56:43 UTC 2017 How to go about fixing this?
... View more
Labels:
- Labels:
-
Apache Solr
01-29-2017
11:47 PM
Thanks for the response Sergey. I have attached the master log, /etc/hosts and hbase-site.xml. Just a note: Out of the box throws the same error even before any changes. logs.zip additional info: uname -a (on host) Darwin gogreen-MacBook-Pro.local 16.1.0 Darwin Kernel Version 16.1.0: Wed Oct 19 20:31:56 PDT 2016; root:xnu-3789.21.4~4/RELEASE_X86_64 x86_64 docker --verison: Docker version 1.12.3, build 6b644ec Please let me know if you need any other info.
... View more
01-27-2017
12:16 AM
I have loaded the exact same image on Ubuntu using Docker and it works there but on MAC it doesn't seem to be working.
Steps followed: docker start sandbox login to sandbox /etc/init.d/startup_scripts start sh /root/start_hbase.sh echo "list" | hbase shell (or hbase shell -> list) From the list command, the error is always "ERROR: Can't get master address from ZooKeeper; znode data == null" I have followed all the other links here checking the conf/*XML, on docker port forwarding, running zookeeper independently and let hbase manage zookeeper Kafka on the same docker can connect to zookeeper at port 2181 hbase master start -> says it connected to zookeeper <code>2017-01-26 01:11:46,134 INFO [sandbox:16000.activeMasterManager-SendThread(localhost:2181)] zookeeper.ClientCnxn: Opening socket connection to server localhost/127.0.0.1:2181. Will not attempt to authenticate using SASL (unknown error)
2017-01-26 01:11:46,137 INFO [sandbox:16000.activeMasterManager-SendThread(localhost:2181)] zookeeper.ClientCnxn: Socket connection established to localhost/127.0.0.1:2181, initiating session
After this, master process waits for region server (count to settle), when I do a hbase regionserver start master gets killed (no reason specified), region server goes on to complain it cant report to master. I have tried both zookeeper as individual (outside hbase) - this works with kafka. Stopped the zookeeper and let hbase manage it's own zookeeper - both cases hbase isnt' starting correctly due to which hbase client complains about zookeeper. I am starting to think it's not zookeeper related Also, after hbase zookeeper start I can use hbase zkcli and get connected to zookeeper. But when I do a hbase master start the same thing happens that I have mentioned earlier. Although it might not help, I forwarded the port 2181 on docker and changed sandbox.hortonworks.com domain to localhost in the site.xml (one of few ways I was trying and listed down all the things I tried) This is out of the box config that works in Linux and not in MAC as I have mentioned earlier. If anyone has faced similar issues please let me know.
... View more
Labels: