Member since
01-19-2017
3682
Posts
633
Kudos Received
373
Solutions
My Accepted Solutions
| Title | Views | Posted |
|---|---|---|
| 2024 | 06-04-2025 11:36 PM | |
| 2362 | 03-23-2025 05:23 AM | |
| 1136 | 03-17-2025 10:18 AM | |
| 4469 | 03-05-2025 01:34 PM | |
| 2984 | 03-03-2025 01:09 PM |
07-21-2020
06:50 AM
@Stephbat Please can you check those 2 values dfs.datanode.max.locked.memory and ulimit The dfs.datanode.max.locked.memory determines the maximum amount of memory a DataNode will use for caching. The "locked-in-memory size" corresponds to ulimit (ulimit -l) of the DataNode user that needs to be increased to match this parameter. The current dfs.datanode.max.locked.memory is 2 GB and while the RLIMIT_MEMLOCK is 16 MB If you get the error “Cannot start datanode because the configured max locked memory size… is more than the datanode’s available RLIMIT_MEMLOCK ulimit,” that means that the operating system is imposing a lower limit on the amount of memory that you can lock than what you have configured. To fix this, you must adjust the ulimit -l value that the DataNode runs with. Usually, this value is configured in /etc/security/limits.conf. However, it will vary depending on what operating system and distribution you are using please adjust the values accordingly remember that you will need space in memory for other things as well, such as the DataNode and application JVM heaps and the operating system page cache. Once adjust the datanode should start as a charm 🙂 Hope that helps
... View more
07-21-2020
01:56 AM
@focal_fossa Can you share how method you used to extend you VM disk? Whats the VM disk file extension vmdk or vdi? Note virtualbox does not allow resizing on vmdk images. Does you disk show Dynamically allocated storage as shown below? Please revert
... View more
07-20-2020
02:39 PM
@focal_fossa AFAIK these sandboxes dynamically allocated storage. You can try that by generate and load data for TPC-DS General usage is tpcds-setup.sh scale_factor [directory] For example below will generate 200 GB of TPC-DS data in /user/data [HDFS] ./tpcds-setup.sh 200 /user/data This should prove that the disk allocation is dynamic see below links https://github.com/hortonworks/hive-testbench/blob/hive14/tpch-build.sh and https://github.com/hortonworks/hive-testbench/blob/hive14/tpch-setup.sh to build Hope that helps
... View more
07-19-2020
09:06 AM
@tanishq1197 The Password should be the scm password Enter SCM password: The default is SCM that should progress successfully
... View more
07-18-2020
01:41 AM
@tanishq1197 I think I did a typo error previously there was an extra scm the below should run successfully sudo /opt/cloudera/cm/schema/scm_prepare_database.sh postgresql scm scm
... View more
07-18-2020
01:18 AM
@tanishq1197 Please can you copy and paste here exactly the command you run?
... View more
07-17-2020
03:24 PM
@Fawze In a Hadoop distribution ACLs are disabled by default. When ACLs are disabled, the NameNode rejects all attempts to set an ACL you will need to enable that manually in CM/Ambari. Enabling HDFS ACLs Using Cloudera Manager Go to the Cloudera Manager Admin Console and navigate to the HDFS service Click the Configuration tab. Select Scope > Service_name (Service-Wide) Select Category > Security Locate the Enable Access Control Lists property and select its checkbox to enable HDFS ACLs. [Enter a Reason for change, and then] Click Save Changes to commit the changes. The above sequence sets the dfs.namenode.acls.enabled property to true in the NameNode's hdfs-site.xml. This is a cluster-wide operation so only after doing the above you can run the setfacl or getfacl commands against an HDFS file etc <property>
<name>dfs.namenode.acls.enabled</name>
<value>true</value>
</property> The hdfs-site.xml is distributed by CM, when you make a change you are usually warned that there is a stale configuration and you are asked to restart the service this triggers the distribution of the new hdfs-site.xml to all nodes in the cluster and that's precisely the reason to use CM rather than manually editing. Happy hadooping
... View more
07-17-2020
01:37 PM
@Fawze AFAIK all changes made manually by editing the files using VI or nano is not persisted in the CM or Ambari database which means CDH or HDP is even not aware of that change so at startup it will get the values of the configuration from the persisted database. When you use CM/Ambari to change values the save button triggers an update in the underlying CM/Ambari tables that said it's NOT advisable to manually edit config files. Happy hadooping
... View more
07-17-2020
11:04 AM
@tanishq1197 I think your syntax is wrong because you have initiated a connection using the below snippet # sudo -u postgres psql The correct syntax is without need of prior log on $ sudo /opt/cloudera/cm/schema/scm_prepare_database.sh [options] <databaseType> <databaseName> <databaseUser> <password> Substituting the correct value s the below should run successfully with the default user/password scm/scm $ sudo /opt/cloudera/cm/schema/scm_prepare_database.sh postgresql scm scm scm Assuming you intend to use the derby databases postgres please see Setting up the Cloudera Manager Database Hope that helps
... View more
07-12-2020
04:58 AM
@Anrygzhang After the merger, the licensing models changed. The last free HDP version that is downloadable is HDP 3.1.4 for any version after that unfortunately would you need to be a Cloudera customer. Get the HDP 3.1.4 link HDP.3.1.4 repository Hope that helps
... View more