You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hawq.apache.org by "Paul Guo (JIRA)" <ji...@apache.org> on 2016/05/10 06:14:12 UTC
[jira] [Commented] (HAWQ-718) wiki of "Build and Install" for
CentOS 7.x has some little issues.
[ https://issues.apache.org/jira/browse/HAWQ-718?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15277683#comment-15277683 ]
Paul Guo commented on HAWQ-718:
-------------------------------
Thanks for the feedback. Please see answers below.
1. I've tried building and testing on centos7 following the steps on wiki and it worked fine. My guess is that some installation options make the difference. I'd rather leave this issue alone. Let's fix the wiki if encountering this again.
2. About the overcommit issue. We encountered similar kinda errors relevant to java and have warned it on wiki but never see the error message you mentioned, but I am definitely not surprised to see it if overcommit is set to 2. I've updated the wiki for this.
3. about ldconfig. Yes you are right. The previous words are incorrect. Right solution is either set LD_LIBRARY_PATH or run ldconfig after setting the library path under /etc/ldconfig*. Latest code (at the time I update the JIRA) does not need users to build libyarn and libhdfs3 seperately (themselves).
4. About password-less ssh. I've updated wiki.
After releasing hawq 2.0, we are working on make "Build and Install" easier and more convenient. Stay tuned. Thanks.
> wiki of "Build and Install" for CentOS 7.x has some little issues.
> ------------------------------------------------------------------
>
> Key: HAWQ-718
> URL: https://issues.apache.org/jira/browse/HAWQ-718
> Project: Apache HAWQ
> Issue Type: Improvement
> Components: Documentation
> Reporter: Rafael Gu
> Assignee: Paul Guo
>
> Followed https://cwiki.apache.org/confluence/display/HAWQ/Build+and+Install several days ago, I built and installed HAWQ on my two PCs both with CentOS 7 installed. One is i7/16G/native centos 7, another is i7/8G/vmware centos 7. I found some issues(both machines) as follows:
> 1. There is another lib need to be yum installed when I met some compiling errors. Sorry, I forgot the lib's name:(, but it's easy to find if you recompile HAWQ on a cleaned CentOS 7.
> 2. I met "library initialization failed - unable to allocate file descriptor table - out of memory ....". I cannot find suggested hardware(memory) pages, looks 16G memory is too small to compile HAWQ. I adjust vm.overcommit_memory from 2 to 1(mentioned by Lei Chang) and compiling process passed:)
> 3. It's confused when I saw [# Please follow the above steps to install libyarn. You may need to run "ldconfig -p <PATH>" after libyarn is installed.], I cannot find what's "the above steps to install libyarn". I just compiled and ldconfig the libyarn like other lib sourcecode I did, and it works well.
> 4. I also met the errors as follows, when I want to run HAWQ:
> 20160429:18:15:24:071396 hawq_init:localhost:rafael-[ERROR]:-sync hawq-site.xml failed.
> 20160429:18:15:24:071396 hawq_init:localhost:rafael-[ERROR]:-Set default_hash_table_bucket_number failed
> Lei Change helped me again to solve this issue by using password-less ssh. No corresponding words found in the wiki document.
> Hope above descriptions helps to improve the WiKi document.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)