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 (Created) (JIRA)" <ji...@apache.org> on 2012/03/20 13:49:39 UTC

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

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


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

        

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

Posted by "Roman Shaposhnik (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/BIGTOP-471?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13236371#comment-13236371 ] 

Roman Shaposhnik commented on BIGTOP-471:
-----------------------------------------

Great point! Looks like we've got a couple of those references to /var/lock going on in Debian scripts. Care to submit a patch?
                
> 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
>
> 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

        

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

Posted by "doug chang (Issue Comment Edited) (JIRA)" <ji...@apache.org>.
    [ 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:45 AM:
------------------------------------------------------------

ok, note to self: convention is HADOOP_COMPONENT.dirs where all the subdirectories get added
hive.dirs needs /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; depends if you install hive first then you wont see this error message, need to look at all the scripts to make sure order doesnt matter. both flume and hive need /var/lock/subsys. verify other components and add. problem is if you install hive first then you never see the error messages. alternatively test each component separately for /var/lock/subsys requirement. tricky. 

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

have to test -- here is proof fix works:
ubuntu@ip-10-243-135-103:~$ ls /var/lock/
ubuntu@ip-10-243-135-103:~$ sudo apt-get install hive
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following NEW packages will be installed:
  hive
0 upgraded, 1 newly installed, 0 to remove and 25 not upgraded.
Need to get 0B/18.3MB of archives.
After this operation, 22.5MB of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
  hive
Install these packages without verification [y/N]? y
Selecting previously deselected package hive.
(Reading database ... 80531 files and directories currently installed.)
Unpacking hive (from .../h/hive/hive_0.8.1-1_all.deb) ...
Processing triggers for man-db ...
Setting up hive (0.8.1-1) ...
update-alternatives: using /etc/hive/conf.dist to provide /etc/hive/conf (hive-conf) in auto mode.

ubuntu@ip-10-243-135-103:~$ ls /var/lock/
subsys
ubuntu@ip-10-243-135-103:~$ 


                
      was (Author: dougc33333):
    ok, note to self: convention is HADOOP_COMPONENT.dirs where all the subdirectories get added
hive.dirs needs /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; depends if you install hive first then you wont see this error message.

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

have to test -- here is proof fix works:
ubuntu@ip-10-243-135-103:~$ ls /var/lock/
ubuntu@ip-10-243-135-103:~$ sudo apt-get install hive
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following NEW packages will be installed:
  hive
0 upgraded, 1 newly installed, 0 to remove and 25 not upgraded.
Need to get 0B/18.3MB of archives.
After this operation, 22.5MB of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
  hive
Install these packages without verification [y/N]? y
Selecting previously deselected package hive.
(Reading database ... 80531 files and directories currently installed.)
Unpacking hive (from .../h/hive/hive_0.8.1-1_all.deb) ...
Processing triggers for man-db ...
Setting up hive (0.8.1-1) ...
update-alternatives: using /etc/hive/conf.dist to provide /etc/hive/conf (hive-conf) in auto mode.

ubuntu@ip-10-243-135-103:~$ ls /var/lock/
subsys
ubuntu@ip-10-243-135-103:~$ 


                  
> 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

        

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

Posted by "Anatoli Fomenko (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/BIGTOP-471?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13456712#comment-13456712 ] 

Anatoli Fomenko commented on BIGTOP-471:
----------------------------------------

It seems like the problem stated in the description is not reproducible neither by
`sudo apt-get install hive-server`

Setting up hive-server (0.9.0.7-1) ...
Installing new version of config file /etc/init.d/hive-server ...
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): 
Setting up hive-metastore (0.9.0.7-1) ...

nor `sudo dpkg -i ...` of the hive built from the current bigtop trunk (0.5.0 in progress):

Setting up hive-server (0.9.0-1) ...
Installing new version of config file /etc/init.d/hive-server ...
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): 
Setting up hive-hbase (0.9.0-1) ...

Perhaps, this issue is a candidate for a closure.


                
> 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.5.0
>
>         Attachments: BIGTOP-471.patch.txt
>
>
> 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
For more information on JIRA, see: http://www.atlassian.com/software/jira

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

Posted by "doug chang (Issue Comment Edited) (JIRA)" <ji...@apache.org>.
    [ 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:39 AM:
------------------------------------------------------------

ok, note to self: convention is HADOOP_COMPONENT.dirs where all the subdirectories get added
hive.dirs needs /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; depends if you install hive first then you wont see this error message.

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

have to test -- here is proof fix works:
ubuntu@ip-10-243-135-103:~$ ls /var/lock/
ubuntu@ip-10-243-135-103:~$ sudo apt-get install hive
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following NEW packages will be installed:
  hive
0 upgraded, 1 newly installed, 0 to remove and 25 not upgraded.
Need to get 0B/18.3MB of archives.
After this operation, 22.5MB of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
  hive
Install these packages without verification [y/N]? y
Selecting previously deselected package hive.
(Reading database ... 80531 files and directories currently installed.)
Unpacking hive (from .../h/hive/hive_0.8.1-1_all.deb) ...
Processing triggers for man-db ...
Setting up hive (0.8.1-1) ...
update-alternatives: using /etc/hive/conf.dist to provide /etc/hive/conf (hive-conf) in auto mode.

ubuntu@ip-10-243-135-103:~$ ls /var/lock/
subsys
ubuntu@ip-10-243-135-103:~$ 


                
      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 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 -- here is proof fix works:
ubuntu@ip-10-243-135-103:~$ ls /var/lock/
ubuntu@ip-10-243-135-103:~$ sudo apt-get install hive
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following NEW packages will be installed:
  hive
0 upgraded, 1 newly installed, 0 to remove and 25 not upgraded.
Need to get 0B/18.3MB of archives.
After this operation, 22.5MB of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
  hive
Install these packages without verification [y/N]? y
Selecting previously deselected package hive.
(Reading database ... 80531 files and directories currently installed.)
Unpacking hive (from .../h/hive/hive_0.8.1-1_all.deb) ...
Processing triggers for man-db ...
Setting up hive (0.8.1-1) ...
update-alternatives: using /etc/hive/conf.dist to provide /etc/hive/conf (hive-conf) in auto mode.

ubuntu@ip-10-243-135-103:~$ ls /var/lock/
subsys
ubuntu@ip-10-243-135-103:~$ 


                  
> 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

        

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

Posted by "doug chang (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/BIGTOP-471?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13254220#comment-13254220 ] 

doug chang commented on BIGTOP-471:
-----------------------------------

Thanks Roman
1) no, /var/lib/hadoop/cache/hadoop/dfs was a separate bug. Sorry, no longer needed....
2) ok, hive installs correctly now
3) flume is an issue though: 
touch: cannot touch `/var/lock/subsys/flume-node': No such file or directory
                
> 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
>
>         Attachments: BIGTOP-471.patch.txt
>
>
> 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

        

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

Posted by "Roman Shaposhnik (Assigned) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/BIGTOP-471?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Roman Shaposhnik reassigned BIGTOP-471:
---------------------------------------

    Assignee: doug chang
    
> 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

        

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

Posted by "doug chang (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/BIGTOP-471?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13246151#comment-13246151 ] 

doug chang commented on BIGTOP-471:
-----------------------------------

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

        

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

Posted by "doug chang (Issue Comment Edited) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/BIGTOP-471?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13254220#comment-13254220 ] 

doug chang edited comment on BIGTOP-471 at 4/14/12 11:05 PM:
-------------------------------------------------------------

Thanks Roman
1) no, /var/lib/hadoop/cache/hadoop/dfs was a separate bug. Sorry, no longer needed....
2) hive-server looks for directory /var/lock/subsys
3) after starting hive-server, pid creation error on locating directory /var/run/hive
ubuntu@ip-10-62-5-221:~$ /sbin/start-stop-daemon: Unable to open pidfile '/var/run/hive/hive-server.pid' for writing: No such file or directory (No such file or directory)
3) flume is an issue also with /var/lock/subsys: 
touch: cannot touch `/var/lock/subsys/flume-node': No such file or directory
                
      was (Author: dougc33333):
    Thanks Roman
1) no, /var/lib/hadoop/cache/hadoop/dfs was a separate bug. Sorry, no longer needed....
2) hive-server looks for directory /var/lock/subsys
3) flume is an issue though: 
touch: cannot touch `/var/lock/subsys/flume-node': No such file or directory
                  
> 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
>
>         Attachments: BIGTOP-471.patch.txt
>
>
> 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

        

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

Posted by "Roman Shaposhnik (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/BIGTOP-471?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13249666#comment-13249666 ] 

Roman Shaposhnik commented on BIGTOP-471:
-----------------------------------------

Two comments re: patch:
  # is there any need for /var/lib/hadoop/cache/hadoop/dfs as far as Hive is concerned?
  # I'm not sure /var/lock/subsys is valid on Ubuntu, so perhaps we have to modify the init.d script to be different on RedHat and Ubuntu
                
> 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
>
>         Attachments: BIGTOP-471.patch.txt
>
>
> 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

        

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

Posted by "doug chang (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/BIGTOP-471?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

doug chang updated BIGTOP-471:
------------------------------

    Attachment: BIGTOP-471.patch.txt
    
> 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
>
>         Attachments: BIGTOP-471.patch.txt
>
>
> 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

        

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

Posted by "doug chang (Issue Comment Edited) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/BIGTOP-471?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13254220#comment-13254220 ] 

doug chang edited comment on BIGTOP-471 at 4/14/12 11:01 PM:
-------------------------------------------------------------

Thanks Roman
1) no, /var/lib/hadoop/cache/hadoop/dfs was a separate bug. Sorry, no longer needed....
2) hive-server looks for directory /var/lock/subsys
3) flume is an issue though: 
touch: cannot touch `/var/lock/subsys/flume-node': No such file or directory
                
      was (Author: dougc33333):
    Thanks Roman
1) no, /var/lib/hadoop/cache/hadoop/dfs was a separate bug. Sorry, no longer needed....
2) ok, hive installs correctly now
3) flume is an issue though: 
touch: cannot touch `/var/lock/subsys/flume-node': No such file or directory
                  
> 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
>
>         Attachments: BIGTOP-471.patch.txt
>
>
> 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

        

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

Posted by "Roman Shaposhnik (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/BIGTOP-471?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Roman Shaposhnik updated BIGTOP-471:
------------------------------------

    Fix Version/s: 0.4.0
    
> 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

        

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

Posted by "doug chang (Issue Comment Edited) (JIRA)" <ji...@apache.org>.
    [ 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:30 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 -- here is proof fix works:
ubuntu@ip-10-243-135-103:~$ ls /var/lock/
ubuntu@ip-10-243-135-103:~$ sudo apt-get install hive
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following NEW packages will be installed:
  hive
0 upgraded, 1 newly installed, 0 to remove and 25 not upgraded.
Need to get 0B/18.3MB of archives.
After this operation, 22.5MB of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
  hive
Install these packages without verification [y/N]? y
Selecting previously deselected package hive.
(Reading database ... 80531 files and directories currently installed.)
Unpacking hive (from .../h/hive/hive_0.8.1-1_all.deb) ...
Processing triggers for man-db ...
Setting up hive (0.8.1-1) ...
update-alternatives: using /etc/hive/conf.dist to provide /etc/hive/conf (hive-conf) in auto mode.

ubuntu@ip-10-243-135-103:~$ ls /var/lock/
subsys
ubuntu@ip-10-243-135-103:~$ 


                
      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 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
                  
> 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

        

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

Posted by "doug chang (Issue Comment Edited) (JIRA)" <ji...@apache.org>.
    [ 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

        

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

Posted by "Roman Shaposhnik (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/BIGTOP-471?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Roman Shaposhnik resolved BIGTOP-471.
-------------------------------------

    Resolution: Cannot Reproduce

Agreed with Anatoli. At least for trunk. If the problem persists in some other useful branch (like 0.3) feel free to reopen.
                
> 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.5.0
>
>         Attachments: BIGTOP-471.patch.txt
>
>
> 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
For more information on JIRA, see: http://www.atlassian.com/software/jira