Member since
10-06-2023
4
Posts
0
Kudos Received
2
Solutions
My Accepted Solutions
Title | Views | Posted |
---|---|---|
2148 | 06-26-2024 08:55 AM | |
2593 | 03-12-2024 08:04 AM |
06-26-2024
08:55 AM
Hi, just for completeness in case anyone has the same problem and gets here. I was using the command in the response from @Scharan but the error was because I was using the wrong version of Python 3.6, but this requires Python 3.8 or above. After upgrading to Py3.8, the comand worked as expected, only with a couple of warnings as shown bellow: # ./build/env/bin/hue --cm-managed createsuperuser
/opt/cloudera/parcels/CDH-7.1.9-1.cdh7.1.9.p6.51045883/lib/hue/build/env/lib/python3.8/site-packages/oauth2/grant.py:320: SyntaxWarning: "is" with a literal. Did you mean "=="?
if isinstance(value, tuple) and len(value) is 2:
Username (leave blank to use 'root'): prueba_permisos
Email address: prueba_permisos@test.org
Password:
Password (again):
Superuser created successfully.
... View more
06-26-2024
08:48 AM
Y was using copy-paste of the comand in @Scharan 's response. But the problem was this needs Python 3.8 or above and I was using Py3.6. After upgrading Py3 the comand worked perfectly.
... View more
03-12-2024
08:04 AM
This doesn't work in CDP 7.1.7. When using the previous command it will throw the following error: Traceback (most recent call last):
File "./build/env/bin/hue", line 14, in <module>
load_entry_point('desktop', 'console_scripts', 'hue')()
File "/opt/cloudera/parcels/CDH-7.1.7-1.cdh7.1.7.p2046.46875634/lib/hue/desktop/core/src/desktop/manage_entry.py", line 160, in
entry
empty, environment = envline.split("environment=")
ValueError: too many values to unpack
... View more
03-05-2024
11:28 AM
I have a valid subscription and I have access only to the binary jar packages which are available in the repositories. However I found out you can get access to the source code by going to the "cdh7/<version>/maven_repository" sub-folder, were you will get a binary zip for every artifact, for example "hive_artifact.zip" for Hive. Inside this zip file you will find the binary jars and also a source jar containing the code for each sub-proyect, for example: hive_artifacts/org/apache/hive/hive-common/3.1.3000.7.1.7.2000-305/hive-common-3.1.3000.7.1.7.2000-305-sources.jar
... View more