Member since
07-30-2013
509
Posts
113
Kudos Received
123
Solutions
My Accepted Solutions
| Title | Views | Posted |
|---|---|---|
| 3592 | 07-09-2018 11:54 AM | |
| 2913 | 05-03-2017 11:03 AM | |
| 7431 | 03-28-2017 02:27 PM | |
| 2908 | 03-27-2017 03:17 PM | |
| 2434 | 03-13-2017 04:30 PM |
09-12-2014
11:37 AM
It controls the ulimit for maximum file descriptors for the given process. There's one version of this property for each daemon role. The operating system enforces that each process doesn't have more open files than the configured limit.
... View more
09-11-2014
07:24 AM
Hi Elad, You can set probably dfs.datanode.max.locked.memory to the value you want to enforced by the OS, then use the Advanced Configuration Snippet for hdfs-site.xml to change the value that HDFS actually sees for this parameter in hdfs-site. If CM didn't set memlock, then HDFS caching would be at the mercy of the default memlock setting and could fail unexpectedly, with essentially no workaround. So it's pretty important that CM sets this limit to something that will make caching work. Thanks, Darren
... View more
09-10-2014
10:12 AM
Hi Bart, There's not really a problem here. Hive emits that warning, but we've found that in some cases setting metastore.local will avoid bugs (specifically when running on postgresql). So better to have the warning than to have the bug. This might help explain the process directory where you're finding all of those hive-site.xml files: http://blog.cloudera.com/blog/2013/07/how-does-cloudera-manager-work/ CM will automatically generate the metastore uris property based on the configured Hive Metastore Server role's host and port. Unless you have "Bypass Hive Metastore Server" selected, CM will emit the metastore uris property in all client configuration (/etc/hive/conf/hive-site.xml) and all dependent services (impala, hue, etc) that need to talk to Hive. The hive deprecation warning is thrown whether or not the metastore uris are configured. So you should just ignore this error. Thanks, Darren
... View more
09-09-2014
11:23 AM
I see what you mean now. The HMS is supposed to have different configuration. This is the one process that is supposed to talk to the relational database, so it sets "hive.metastore.local" to true and doesn't need to set the URIs (the URIs would just point to itself!). This is expected and not the cause of your memory issue.
... View more
09-09-2014
10:40 AM
What do you mean by "the runtime hive-site.xml"? How are you running hive? Normally if you run "hive" from the command-line, it'll pick up /etc/hive/conf/hive-site.xml (on the same host as where you ran "hive").
... View more
09-08-2014
04:44 PM
You may just need to deploy client configuration. Until you do so, /etc/hive/conf can be stale. You'll need to ask on hive forums to understand the memory issue.
... View more
09-08-2014
03:38 PM
By default, CM configures /etc/hive/conf/hive-site.xml to talk to the metastore. Setting hive.metastore.local to true is generally a bad idea, and means your clients will talk to the database directly instead of going through the Hive Metastore Server (HMS). This can be controlled by the flag "Bypass Hive Metastore Server" in Hive configuration. It's quite strange that your HMS would get so much memory when your clients are not talking to it. You might want to try debugging this memory usage on the Hive forums. There's nothing wrong with using an Oracle database.
... View more
09-08-2014
02:09 PM
You want: Java Heap Size of Hive Metastore Server in Bytes You can use the search box to find it, or look under Hive Metastore Server Default Group -> Resource Management for it. Note that you can expand "Hive Metastore Server Default Group" to find the subcategory "Resource Management".
... View more
09-07-2014
12:27 PM
The client java heapsize will change the client process' heap, not the Metastore Server's heap. The client is the process that is run locally when you run "hive" or "beeline". Look for the relevant configuration for your Hive Metastore Server.
... View more
09-05-2014
06:24 PM
Yes, you can configure the heap size for the Hive Metastore Server. It's in the configuration page under Resource Management.
... View more