You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@bigtop.apache.org by "doug chang (Issue Comment Edited) (JIRA)" <ji...@apache.org> on 2012/04/04 13:28:23 UTC

[jira] [Issue Comment Edited] (BIGTOP-471) hive server setup after installation fails on creating /var/lock/subsys directory

    [ https://issues.apache.org/jira/browse/BIGTOP-471?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13246151#comment-13246151 ] 

doug chang edited comment on BIGTOP-471 at 4/4/12 11:27 AM:
------------------------------------------------------------

ok, note to self: convention is HADOOP_COMPONENT.dirs where all the subdirectories get added
hive.dirs neds /var/lock/subsys

hadoop.dirs needs /var/lib/hadoop/cache/hadoop/dfs and may need to add the line to hadoop.postinst for the chown like this: 

chown root:hadoop /var/lib/hadoop/ /var/lib/hadoop/cache/ /var/lib/hadoop/cache/hadoop/ /var/lib/hadoop/cache/hadoop/dfs

flume needs to create /var/lock/subsys/flume-node

* Starting Flume node daemon (flume-node): 
touch: cannot touch `/var/lock/subsys/flume-node': No such file or directory

have to test
                
      was (Author: dougc33333):
    ok, note to self: convention is HADOOP_COMPONENT.dirs where all the subdirectories get added
hive.dirs neds /var/lock/subsys

hadoop.dirs needs /var/lib/hadoop/cache/hadoop/dfs and may need to add the line to hadoop.postinst for the chown like this: 

chown root:hadoop /var/lib/hadoop/ /var/lib/hadoop/cache/ /var/lib/hadoop/cache/hadoop/ /var/lib/hadoop/cache/hadoop/dfs

flume needs one also

have to test
                  
> hive server setup after installation fails on creating /var/lock/subsys directory
> ---------------------------------------------------------------------------------
>
>                 Key: BIGTOP-471
>                 URL: https://issues.apache.org/jira/browse/BIGTOP-471
>             Project: Bigtop
>          Issue Type: Bug
>    Affects Versions: 0.3.0
>         Environment: ubuntu 10.04 LTS
>            Reporter: doug chang
>            Assignee: doug chang
>             Fix For: 0.4.0
>
>
> Error message on sudo apt-get install hive-server
> Setting up hive-server (0.8.1-1) ...
> update-rc.d: warning: hive-server start runlevel arguments (2 3 4 5) do not match LSB Default-Start values (3 4 5)
> update-rc.d: warning: hive-server stop runlevel arguments (0 1 6) do not match LSB Default-Stop values (0 1 2 6)
>  * Starting  (hive-server): 
> touch: cannot touch `/var/lock/subsys/hive-server': No such file or directory
> if you create /var/lock/subsys, installation runs ok.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira