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 20:22:38 UTC

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

Krystal created DRILL-2501:
------------------------------

             Summary: 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)