Bigtop
  1. Bigtop
  2. BIGTOP-370

Hive metastore does not initialize with permissions failure

    Details

    • Type: Bug Bug
    • Status: Reopened
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.3.0
    • Fix Version/s: 0.3.0
    • Component/s: general
    • Labels:
      None

      Description

      Starting Hive Metastore Server
      WARNING: org.apache.hadoop.metrics.jvm.EventCounter is deprecated. Please use org.apache.hadoop.log.metrics.EventCounter in all the log4j.properties files.
      SLF4J: Class path contains multiple SLF4J bindings.
      SLF4J: Found binding in [jar:file:/usr/lib/hadoop/lib/slf4j-log4j12-1.6.1.jar!/org/slf4j/impl/StaticLoggerBinder.class]
      SLF4J: Found binding in [jar:file:/usr/lib/hive/lib/slf4j-log4j12-1.6.1.jar!/org/slf4j/impl/StaticLoggerBinder.class]
      SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
      2012-01-25 23:14:01.619 GMT Thread[main,5,main] java.io.FileNotFoundException: derby.log (Permission denied)
      2012-01-25 23:14:01.760 GMT Thread[main,5,main] Cleanup action starting
      ERROR XBM0H: Directory /var/lib/hive/metastore/metastore_db cannot be created.
      at org.apache.derby.iapi.error.StandardException.newException(Unknown Source)
      at org.apache.derby.impl.services.monitor.StorageFactoryService$9.run(Unknown Source)
      at java.security.AccessController.doPrivileged(Native Method)
      at org.apache.derby.impl.services.monitor.StorageFactoryService.createServiceRoot(Unknown Source)
      at org.apache.derby.impl.services.monitor.BaseMonitor.bootService(Unknown Source)
      at org.apache.derby.impl.services.monitor.BaseMonitor.createPersistentService(Unknown Source)
      at org.apache.derby.iapi.services.monitor.Monitor.createPersistentService(Unknown Source)
      at org.apache.derby.impl.jdbc.EmbedConnection.createDatabase(Unknown Source)
      at org.apache.derby.impl.jdbc.EmbedConnection.<init>(Unknown Source)
      at org.apache.derby.impl.jdbc.EmbedConnection30.<init>(Unknown Source)
      at org.apache.derby.impl.jdbc.EmbedConnection40.<init>(Unknown Source)
      at org.apache.derby.jdbc.Driver40.getNewEmbedConnection(Unknown Source)
      at org.apache.derby.jdbc.InternalDriver.connect(Unknown Source)
      at org.apache.derby.jdbc.AutoloadedDriver.connect(Unknown Source)
      at java.sql.DriverManager.getConnection(DriverManager.java:582)

      1. BIGTOP-370.patch
        1 kB
        Peter Linnell

        Activity

        Peter Linnell created issue -
        Hide
        Peter Linnell added a comment -

        Patch on the way.

        Show
        Peter Linnell added a comment - Patch on the way.
        Peter Linnell made changes -
        Field Original Value New Value
        Assignee Peter Linnell [ plinnell ]
        Fix Version/s 0.3.0 [ 12317841 ]
        Affects Version/s 0.3.0 [ 12317841 ]
        Description Starting Hive Metastore Server
        WARNING: org.apache.hadoop.metrics.jvm.EventCounter is deprecated. Please use org.apache.hadoop.log.metrics.EventCounter in all the log4j.properties files.
        SLF4J: Class path contains multiple SLF4J bindings.
        SLF4J: Found binding in [jar:file:/usr/lib/hadoop/lib/slf4j-log4j12-1.6.1.jar!/org/slf4j/impl/StaticLoggerBinder.class]
        SLF4J: Found binding in [jar:file:/usr/lib/hive/lib/slf4j-log4j12-1.6.1.jar!/org/slf4j/impl/StaticLoggerBinder.class]
        SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
        2012-01-25 23:14:01.619 GMT Thread[main,5,main] java.io.FileNotFoundException: derby.log (Permission denied)
        2012-01-25 23:14:01.760 GMT Thread[main,5,main] Cleanup action starting
        ERROR XBM0H: Directory /var/lib/hive/metastore/metastore_db cannot be created.
        at org.apache.derby.iapi.error.StandardException.newException(Unknown Source)
        at org.apache.derby.impl.services.monitor.StorageFactoryService$9.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at org.apache.derby.impl.services.monitor.StorageFactoryService.createServiceRoot(Unknown Source)
        at org.apache.derby.impl.services.monitor.BaseMonitor.bootService(Unknown Source)
        at org.apache.derby.impl.services.monitor.BaseMonitor.createPersistentService(Unknown Source)
        at org.apache.derby.iapi.services.monitor.Monitor.createPersistentService(Unknown Source)
        at org.apache.derby.impl.jdbc.EmbedConnection.createDatabase(Unknown Source)
        at org.apache.derby.impl.jdbc.EmbedConnection.<init>(Unknown Source)
        at org.apache.derby.impl.jdbc.EmbedConnection30.<init>(Unknown Source)
        at org.apache.derby.impl.jdbc.EmbedConnection40.<init>(Unknown Source)
        at org.apache.derby.jdbc.Driver40.getNewEmbedConnection(Unknown Source)
        at org.apache.derby.jdbc.InternalDriver.connect(Unknown Source)
        at org.apache.derby.jdbc.AutoloadedDriver.connect(Unknown Source)
        at java.sql.DriverManager.getConnection(DriverManager.java:582)

        Component/s General [ 12315313 ]
        Peter Linnell made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Peter Linnell made changes -
        Attachment BIGTOP-365.patch [ 12512030 ]
        Hide
        Peter Linnell added a comment -

        Ignore BIGTOP-365.patch wrong one

        Show
        Peter Linnell added a comment - Ignore BIGTOP-365 .patch wrong one
        Peter Linnell made changes -
        Attachment BIGTOP-370.patch [ 12512031 ]
        Peter Linnell made changes -
        Attachment BIGTOP-365.patch [ 12512030 ]
        Hide
        Bruno Mahé added a comment -

        What about deb?

        Show
        Bruno Mahé added a comment - What about deb?
        Hide
        Peter Linnell added a comment -

        Um in the top of the patch

        Show
        Peter Linnell added a comment - Um in the top of the patch
        Hide
        Bruno Mahé added a comment -

        +1.
        Does it need to be applied to other branches as well such hadoop-0.2[2-3]?

        Show
        Bruno Mahé added a comment - +1. Does it need to be applied to other branches as well such hadoop-0.2 [2-3] ?
        Hide
        Peter Linnell added a comment -

        I've pushed this to hadoop-0.23, but will add to trunk and .22, unless someone objects

        Show
        Peter Linnell added a comment - I've pushed this to hadoop-0.23, but will add to trunk and .22, unless someone objects
        Peter Linnell made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Gavin made changes -
        Workflow no-reopen-closed, patch-avail [ 12650669 ] patch-available, re-open possible [ 12665769 ]
        Roman Shaposhnik made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Anonymous made changes -
        Status Closed [ 6 ] Reopened [ 4 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Patch Available Patch Available
        1h 4m 1 Peter Linnell 26/Jan/12 20:06
        Patch Available Patch Available Resolved Resolved
        4h 29m 1 Peter Linnell 27/Jan/12 00:35
        Resolved Resolved Closed Closed
        151d 15h 23m 1 Roman Shaposhnik 26/Jun/12 16:58
        Closed Closed Reopened Reopened
        958d 14h 7m 1 10/Feb/15 06:06

          People

          • Assignee:
            Peter Linnell
            Reporter:
            Peter Linnell
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development