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

        Hide
        Peter Linnell added a comment -

        Patch on the way.

        Show
        Peter Linnell added a comment - Patch on the way.
        Hide
        Peter Linnell added a comment -

        Ignore BIGTOP-365.patch wrong one

        Show
        Peter Linnell added a comment - Ignore BIGTOP-365 .patch wrong one
        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

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development