Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Hive Installation
07-19-2018, 10:58 AM
Post: #11
RE: Hive Installation
about step5
I think we should set the PATH for every user
so I suggest to do some change ((user .bashrc file-> /etc/profile and do export once to make it works immediately))

RR qiracle xwcwt
Find all posts by this user
Quote this message in a reply
07-19-2018, 11:02 AM
Post: #12
RE: Hive Installation
(07-19-2018 10:58 AM)zheny Wrote:  about step5
I think we should set the PATH for every user
so I suggest to do some change ((user .bashrc file-> /etc/profile and do export once to make it works immediately))

RR qiracle xwcwt

Not know the detail reason why export for all user. please state more clearly.
Find all posts by this user
Quote this message in a reply
07-19-2018, 11:12 AM
Post: #13
RE: Hive Installation
(07-19-2018 11:02 AM)xwcwt Wrote:  
(07-19-2018 10:58 AM)zheny Wrote:  about step5
I think we should set the PATH for every user
so I suggest to do some change ((user .bashrc file-> /etc/profile and do export once to make it works immediately))

RR qiracle xwcwt

Not know the detail reason why export for all user. please state more clearly.

for example, we install hive with user 'hiveuser' and echo the PATH into hiveuser's .bashrc
then only hiveuser can use hive
I don't know which users will use hive so I can't export the PATH for them only during the installation
Find all posts by this user
Quote this message in a reply
07-19-2018, 11:22 AM
Post: #14
RE: Hive Installation
(07-19-2018 11:12 AM)zheny Wrote:  
(07-19-2018 11:02 AM)xwcwt Wrote:  
(07-19-2018 10:58 AM)zheny Wrote:  about step5
I think we should set the PATH for every user
so I suggest to do some change ((user .bashrc file-> /etc/profile and do export once to make it works immediately))

RR qiracle xwcwt

Not know the detail reason why export for all user. please state more clearly.

for example, we install hive with user 'hiveuser' and echo the PATH into hiveuser's .bashrc
then only hiveuser can use hive
I don't know which users will use hive so I can't export the PATH for them only during the installation

Then you can specify such info in madras to define which user to use hive, in my last experience there's no need to export to all user.

Also:

注意模块化,不要一个脚本把所有的都配置了,你当前可以先聚焦于 把tab.d-thinker.org/showthread.php?tid=6488 中的hadoop基本部件配置好,我个人认为安装了cdh后,D-store/HDFS可以暂时不安装并且借鉴/重用 D-store/HDFS下的一些配置文件将HDFS配置起来。因为CDH也包含了HDFS,两者提供的功能是一致无需两个都在。且配置的文件也差不多,所以可以重用起来。

所以你现在主要是:

1. 在默认安装了CDH的RPM包后但不配置CDH的情况下原先的D-store/HDFS等功能能正常工作,这也就是你现在改的export-hdfs-xxx.sh那个脚本。

2. 在1成功后,在limbo7上测试CDH,limbo7上可以不安装D-store/HDFS模块,最大化重用原有的D-store/HDFS脚本.
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump: