Member since
05-27-2014
1499
Posts
77
Kudos Received
44
Solutions
My Accepted Solutions
Title | Views | Posted |
---|---|---|
3176 | 05-04-2020 11:56 AM | |
1952 | 05-01-2020 10:43 AM | |
2076 | 04-28-2020 03:11 PM | |
3554 | 04-28-2020 10:35 AM | |
2449 | 04-13-2020 10:44 AM |
01-16-2019
01:45 PM
Hi @Timothy, What you are doing now is the only option until a CDH release with HUE-7407. The fix is in CDH 6.1 release. Please consider to upgrade for the fix. Thanks and hope this helps, Li
... View more
01-15-2019
01:31 PM
Hi @yellowD, From the output, it looks like you are using CDH5.15.1. Please confirm if it is not. Starting from CDH 5.12.2, 5.13.1, or later versions of CDH, it is no longer necessary to export the HUE_CONF_DIR, HUE_DATABASE_PASSWORD, and HUE_IGNORE_PASSWORD_SCRIPT_ERRORS environment variables. Instead, from the Hue sever, run the following as the root user (due to security settings of CM process directories): /opt/cloudera/parcels/CDH/lib/hue/build/env/bin/hue changepassword <USER-TO-CHANGE> --cm-managed So if you want to change the password for user named "admin", then run the command like this: /opt/cloudera/parcels/CDH/lib/hue/build/env/bin/hue changepassword admin --cm-managed See my test result below: # /opt/cloudera/parcels/CDH/lib/hue/build/env/bin/hue changepassword admin --cm-managed
Changing password for user 'admin'
Password:
Password (again):
Password changed successfully for user 'admin' Thanks and hope this helps, Li
... View more
01-08-2019
10:54 AM
Thanks for the response, Li. It was really helpful. Regards, -Thrisha
... View more
01-07-2019
10:07 AM
Hi @cgomezfl, In regarding to the original error message: com.microsoft.windowsazure.storage.StorageException: The value for one of the HTTP headers is not in the correct format. This error will occur if the Azure Account Kind is not set properly when creating the storage account. To correct this, set the Account Kind to General Purpose and the Access type to Blob within the Blob service configuration. Hope this helps! Thanks, Li
... View more
01-05-2019
09:44 AM
Hi @lwang thank you very much for your kind feedback, I'm preparing the CDH and CM upgrade to 5.13.1, in order to avoid this issue. Thanks again! Regards, Alex
... View more
12-13-2018
12:08 PM
Hi @Prav,
Unfortunately, there is no officially supported way to increase the number of tables loaded in Hue. However, we do currently have a feature request to improve on this behavior.
In the meantime, you can workaround this by:
distribute the tables in multiple DBs (recommended)
manually adjust the 'max_rows' limit in hive_server2_lib.py as shown in below. However, keep these implications in mind before you do that:
The more the limit is increased, the more it will impact the performance of Hue.
If something goes wrong with Hue, this change would potentially make troubleshooting difficult.
The next time CDH is upgraded (even to a maintenance release), a new copy of hive_server2_lib.py will be installed, and change will have to be made again.
Before making the change, hive_server2_lib.py should be backed up.
Here is the sample code reference from /opt/cloudera/parcels/CDH/lib/hue/apps/beeswax/src/beeswax/server/hive_server2_lib.py:
-----------------
def get_tables(self, database, table_names, table_types=None): if not table_types: table_types = self.DEFAULT_TABLE_TYPES req = TGetTablesReq(schemaName=database, tableName=table_names, tableTypes=table_types) res = self.call(self._client.GetTables, req)
results, schema = self.fetch_result(res.operationHandle, orientation=TFetchOrientation.FETCH_NEXT, max_rows=5000) self.close_operation(res.operationHandle)
return HiveServerTRowSet(results.results, schema.schema).cols(('TABLE_NAME',))
-----------------
Hope this helps,
Li
Cloudera Employee
... View more
08-29-2017
10:15 AM
One typo correction to Anthony's reply above, the CLI command to retrieve information about a cluster is as 'describe-cluster' and not 'describe-clusters'.
... View more
06-20-2017
11:11 PM
2 Kudos
Question Why do I get below message "Request Time is Invalid" after logging into Cloudera Altus?
Answer The clock on the machine from where you are accessing the Cloudera Altus Web UI is not accurate. Please make sure the clock is set up correctly.
... View more
04-26-2017
03:10 PM
1 Kudo
Question How does a user generate an AWS keypair which is used during Environment Quickstart?
Answer At the last step of Environment Quickstart, user will be asked to enter AWS keypair. Following are the steps to create the keypair: Sign into the https://console.aws.amazon.com Beneath IAM -> Users -> Select your user -> Security Credentials tab, click the "Create access key" button to create a new AWS access key for your account Copy and paste Access Key ID and the access key value to a file for later usage. Creation the access key Click the Show to be able to copy the key value
... View more
Labels:
04-17-2017
04:08 PM
1 Kudo
The Cloudera Altus client (altuscli) requires Python version 3.6 or later. The reason for this requirement is because it relies on some new libraries which ships with Python 3.6 but not in earlier versions. It is not enough to have python3 installed on the machine, it also needs to be the default version, which could be checked by running python --version command. Documentation for CLI install
... View more
- « Previous
- Next »