Error on upgrade - print "Oracle metastore specified, but could not import cx_Oracle" SyntaxError: Missing parentheses in call to 'print'

After upgrade to latest version of Arcadia Enterprise 4.3 or 4.4, some users have seen the below error during restart of the Visualization Server:

This is usually related to the fact the *.jar file has not been updated in the CSD directory. Confirm you updated the .jar file in the CSD directory per the upgrade step #4:

http://documentation.arcadiadata.com/4.4.0.0/#pages/topics/upgrade-enterprise-cm.html

  1. Copy the ARCADIAENTERPRISE-<version-number>.jar file to the Cloudera CSD directory.
$ sudo cp ARCADIAENTERPRISE-<version-number>.jar /opt/cloudera/csd

ERROR — stderr visualization server —

mod = importlib.import_module(self.SETTINGS_MODULE)
  File "/opt/cloudera/parcels/ARCADIAENTERPRISE-4.3.0.0-1531519736.cdh5/lib/python/lib64/python3.6/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 978, in _gcd_import
  File "<frozen importlib._bootstrap>", line 961, in _find_and_load
  File "<frozen importlib._bootstrap>", line 950, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 655, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 674, in exec_module
  File "<frozen importlib._bootstrap_external>", line 781, in get_code
  File "<frozen importlib._bootstrap_external>", line 741, in source_to_code
  File "<frozen importlib._bootstrap>", line 205, in _call_with_frames_removed
  File "/run/cloudera-scm-agent/process/136-arcadiaenterprise-ARCVIZ/settings_cm.py", line 61
print "Oracle metastore specified, but could not import cx_Oracle"
                                                                 ^
SyntaxError: Missing parentheses in call to 'print'
1 Like