You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Krystal (JIRA)" <ji...@apache.org> on 2015/03/19 21:27:38 UTC

[jira] [Commented] (DRILL-2501) POSTINST upgrade checks old drill install folder for drill pid to stop

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

Krystal commented on DRILL-2501:
--------------------------------

Sorry, the above output was for removing a drill package which encountered the same problem.  Here is the output from an upgrade:

Resolving package dependencies...

The following package is going to be upgraded:
  mapr-drill 

The following package is not supported by its vendor:
  mapr-drill 

1 package to upgrade.
Overall download size: 164.4 MiB. After the operation, 265.0 KiB will be freed.
Continue? [y/n/?] (y): y
Retrieving package mapr-drill-0.8.0.31020-1.noarch (1/1), 164.4 MiB (190.7 MiB unpacked)
Retrieving: mapr-drill-0.8.0.31020-1.noarch.rpm [done (42.7 MiB/s)]
Installing: mapr-drill-0.8.0.31020-1 [done]
Additional rpm output:
POSTINST upgrade
no drillbit to stop because kill -0 of pid 16852 failed with status 1


> POSTINST upgrade checks old drill install folder for drill pid to stop
> ----------------------------------------------------------------------
>
>                 Key: DRILL-2501
>                 URL: https://issues.apache.org/jira/browse/DRILL-2501
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: Tools, Build & Test
>            Reporter: Krystal
>            Assignee: Steven Phillips
>
> I originally upgraded drill 0.7 to drill 0.8.  Then I upgraded drill 0.8 to another 0.8.  So now I have the following folers:
> mfs47:~ # ls -l /opt/mapr/drill
> total 12
> drwxr-xr-x 4 mapr root 4096 Mar 18 15:49 drill-0.7.0
> drwxr-xr-x 2 mapr root 4096 Mar 19 12:08 drill-0.8.0
> drwxr-xr-x 4 root root 4096 Mar 19 10:45 OLD_DRILL_VERSIONS
> During the post install of upgrade of 0.8 to another 0.8, it tries to stop the drillbit but failed as shown below:
> "The following package is going to be REMOVED:
>   mapr-drill 
> 1 package to remove.
> After the operation, 190.7 MiB will be freed.
> Continue? [y/n/?] (y): y
> Removing mapr-drill-0.8.0.31020-1 [done]
> Additional rpm output:
> no drillbit to stop because kill -0 of pid 16852 failed with status 1"
> pid 16852 belongs to drill 0.7. 
> cat /opt/mapr/drill/drill-0.7.0/drillbit.pid
> 16852
> Looks like it is grabbing the first directory that it finds?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)