Member since
02-21-2016
9
Posts
9
Kudos Received
1
Solution
My Accepted Solutions
Title | Views | Posted |
---|---|---|
5025 | 03-24-2016 06:01 AM |
03-24-2016
06:01 AM
2 Kudos
Fixed with this code +# encoding=utf8
+
import sys, os, pwd, grp, signal, time, glob import sys, os, pwd, grp, signal, time, glob
from resource_management import * from resource_management import *
from subprocess import call from subprocess import call
+reload(sys)
+sys.setdefaultencoding('utf8')
... View more
03-22-2016
03:30 PM
1 Kudo
Env: Ubuntu 14.04.1 HDP 2.4 Trying to install nifi with https://github.com/abajwa-hw/ambari-nifi-service but I am ending up with
Traceback (most recent call last):
File "/var/lib/ambari-agent/cache/stacks/HDP/2.4/services/NIFI/package/scripts/master.py", line 201, in <module>
Master().execute(
File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 219, in execute
method(env)
File "/var/lib/ambari-agent/cache/stacks/HDP/2.4/services/NIFI/package/scripts/master.py", line 109, in install
self.configure(env, True)
File "/var/lib/ambari-agent/cache/stacks/HDP/2.4/services/NIFI/package/scripts/master.py", line 145, in configure
Execute(format("cd {params.conf_dir}; mv flow.xml.gz flow_$(date +%d-%m-%Y).xml.gz ;"), user=params.nifi_user, ignore_failures=True)
File "/usr/lib/python2.6/site-packages/resource_management/core/base.py", line 154, in __init__
self.env.run()
File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 163, in run
Logger.info("Skipping failure of %s due to ignore_failures. Failure reason: %s" % (resource, str(ex)))
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 191: ordinal not in range(128) More info here
... View more
Labels:
- Labels:
-
Apache Ambari
-
Apache NiFi
03-05-2016
08:44 AM
1 Kudo
thanks, with local hosts entry it works. It worked in 2.3 withouth the entry
... View more
03-04-2016
08:54 PM
1 Kudo
Installed Zeppelin that comes with 2.4 connecting with the ambari view does not work (shows DNS problem connecting directly to port 9995 is gives broken view :
install dir looks like this ➜ incubator-zeppelin ls -al
total 1416
drwxr-xr-x 10 zeppelin zeppelin 4096 Mar 4 19:38 .
drwxr-xr-x 4 root root 4096 Mar 4 19:37 ..
drwxr-xr-x 2 zeppelin hadoop 4096 Mar 4 19:37 bin
drwxr-xr-x 2 zeppelin hadoop 4096 Mar 4 21:05 conf
-rw-r--r-- 1 zeppelin hadoop 542 Jan 11 15:09 DISCLAIMER
drwxr-xr-x 16 zeppelin hadoop 4096 Mar 4 19:37 interpreter
drwxr-xr-x 2 zeppelin hadoop 4096 Mar 4 19:37 lib
-rw-r--r-- 1 zeppelin hadoop 32370 Jan 11 15:10 LICENSE
drwxr-xr-x 2 zeppelin hadoop 4096 Mar 4 19:37 licenses
drwxr-xr-x 15 zeppelin hadoop 4096 Mar 4 19:37 notebook
-rw-r--r-- 1 zeppelin hadoop 5627 Jan 11 15:10 NOTICE
-rw-r--r-- 1 zeppelin hadoop 6561 Jan 11 15:09 README.md
drwxr-xr-x 3 zeppelin hadoop 4096 Mar 4 19:38 webapps
drwxr-xr-x 2 zeppelin hadoop 4096 Mar 4 19:37 zeppelin-0.5.6-incubating-bin-all
-rw-r--r-- 1 zeppelin hadoop 57049 Jan 11 15:09 zeppelin-server-0.5.6-incubating.jar
... View more
Labels:
- Labels:
-
Apache Zeppelin
03-04-2016
05:45 PM
1 Kudo
yes, that worked. Addition of Zeppelin did not work though
... View more
03-04-2016
07:28 AM
1 Kudo
The old nifi service and zeppelin are the two that are failing. Maybe I should delete those also?
... View more
03-04-2016
07:27 AM
1 Kudo
No failed services, this was during package install
... View more
03-04-2016
06:44 AM
How does on trigger "reinstall"?
... View more
03-04-2016
06:43 AM
1 Kudo
During upgrade to 2.4 I get Reason: Found service components in INSTALL_FAILED state. Please re-install these components. Service components in INSTALL_FAILED state: [TEZ:TEZ_CLIENT on c3gw], [OOZIE:OOZIE_CLIENT on c3gw], [SLIDER:SLIDER on c3gw], [TEZ:TEZ_CLIENT on cn104], [SQOOP:SQOOP on cn111], [SLIDER:SLIDER on cn104], [SQOOP:SQOOP on c3gw], [PIG:PIG on c3gw], [TEZ:TEZ_CLIENT on cn111], [SQOOP:SQOOP on cn104.].
Failed on: SLIDER,SQOOP,TEZ,OOZIE,PIG
How do I trigger a reinstall of the failing components?
... View more
Labels: