org.apache.hadoop.hive.ql.metadata.HiveException: Exception creating table In lensserver.log I see the next exception: 01 Apr 2015 22:36:28,373 [Grizzly-worker(2)] ERROR org.apache.hadoop.hive.metastore.RetryingHMSHandler - MetaException(message:file:/user/hive/warehouse/local is not a directory or unable to create one)

lens-user | Amir Akhmedov | 2 years ago
  1. 0

    Newbie question

    lens-user | 2 years ago | Amir Akhmedov
    org.apache.hadoop.hive.ql.metadata.HiveException: Exception creating table In lensserver.log I see the next exception: 01 Apr 2015 22:36:28,373 [Grizzly-worker(2)] ERROR org.apache.hadoop.hive.metastore.RetryingHMSHandler - MetaException(message:file:/user/hive/warehouse/local is not a directory or unable to create one)
  2. 0

    Re: Newbie question

    lens-user | 2 years ago | amareshwarisr .
    org.apache.hadoop.hive.ql.metadata.HiveException: Exception creating table In lensserver.log I see the next exception: 01 Apr 2015 22:36:28,373 [Grizzly-worker(2)] ERROR org.apache.hadoop.hive.metastore.RetryingHMSHandler - MetaException(message:file:/user/hive/warehouse/local is not a directory or unable to create one)
  3. 0

    Re: Newbie question

    lens-user | 2 years ago | Amir Akhmedov
    org.apache.hadoop.hive.ql.metadata.HiveException: Exception creating table In lensserver.log I see the next exception: 01 Apr 2015 22:36:28,373 [Grizzly-worker(2)] ERROR org.apache.hadoop.hive.metastore.RetryingHMSHandler - MetaException(message:file:/user/hive/warehouse/local is not a directory or unable to create one)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    In Spark HiveContext, SET hive.metastore.warehouse.dir is ineffective

    Stack Overflow | 2 years ago | tribbloid
    org.apache.hadoop.hive.ql.metadata.HiveException: MetaException(message:file:/user/hive/warehouse/users is not a directory or unable to create one)
  6. 0

    How to use a specific directory for metastore with HiveContext?

    Stack Overflow | 11 months ago | aa8y
    org.apache.hadoop.hive.ql.metadata.HiveException: MetaException(message:Unable to create database path file:/user/hive/warehouse/foo.db, failed to create database foo)

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.apache.hadoop.hive.ql.metadata.HiveException

      Exception creating table In lensserver.log I see the next exception: 01 Apr 2015 22:36:28,373 [Grizzly-worker(2)] ERROR org.apache.hadoop.hive.metastore.RetryingHMSHandler - MetaException(message:file:/user/hive/warehouse/local is not a directory or unable to create one)

      at org.apache.hadoop.hive.metastore.HiveMetaStore$HMSHandler.create_table_core()
    2. Hive Metastore
      HiveMetaStore$HMSHandler.create_table_with_environment_context
      1. org.apache.hadoop.hive.metastore.HiveMetaStore$HMSHandler.create_table_core(HiveMetaStore.java:1240)
      2. org.apache.hadoop.hive.metastore.HiveMetaStore$HMSHandler.create_table_with_environment_context(HiveMetaStore.java:1295)
      2 frames
    3. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:606)
      4 frames
    4. Hive Metastore
      RetryingHMSHandler.invoke
      1. org.apache.hadoop.hive.metastore.RetryingHMSHandler.invoke(RetryingHMSHandler.java:105)
      1 frame
    5. com.sun.proxy
      $Proxy12.create_table_with_environment_context
      1. com.sun.proxy.$Proxy12.create_table_with_environment_context(UnknownSource)
      1 frame
    6. Hive Metastore
      HiveMetaStoreClient.createTable
      1. org.apache.hadoop.hive.metastore.HiveMetaStoreClient.createTable(HiveMetaStoreClient.java:558)
      2. org.apache.hadoop.hive.metastore.HiveMetaStoreClient.createTable(HiveMetaStoreClient.java:547)
      2 frames
    7. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:606)
      4 frames
    8. Hive Metastore
      RetryingMetaStoreClient.invoke
      1. org.apache.hadoop.hive.metastore.RetryingMetaStoreClient.invoke(RetryingMetaStoreClient.java:89)
      1 frame
    9. com.sun.proxy
      $Proxy13.createTable
      1. com.sun.proxy.$Proxy13.createTable(Unknown Source)
      1 frame
    10. Hive Query Language
      Hive.createTable
      1. org.apache.hadoop.hive.ql.metadata.Hive.createTable(Hive.java:613)
      2. org.apache.hadoop.hive.ql.metadata.Hive.createTable(Hive.java:576)
      2 frames
    11. org.apache.lens
      MetastoreResource.createNewStorage
      1. org.apache.lens.cube.metadata.CubeMetastoreClient.createCubeHiveTable(CubeMetastoreClient.java:400)
      2. org.apache.lens.cube.metadata.CubeMetastoreClient.createStorage(CubeMetastoreClient.java:410)
      3. org.apache.lens.server.metastore.CubeMetastoreServiceImpl.createStorage(CubeMetastoreServiceImpl.java:948)
      4. org.apache.lens.server.metastore.MetastoreResource.createNewStorage(MetastoreResource.java:456)
      4 frames
    12. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:606)
      4 frames
    13. jersey-core-server
      ServerRuntime$1.run
      1. org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)
      2. org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:151)
      3. org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:171)
      4. org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$TypeOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:195)
      5. org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:104)
      6. org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:353)
      7. org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:343)
      8. org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)
      9. org.glassfish.jersey.server.ServerRuntime$1.run(ServerRuntime.java:255)
      9 frames
    14. Jersey Core
      RequestScope.runInScope
      1. org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)
      2. org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)
      3. org.glassfish.jersey.internal.Errors.process(Errors.java:315)
      4. org.glassfish.jersey.internal.Errors.process(Errors.java:297)
      5. org.glassfish.jersey.internal.Errors.process(Errors.java:267)
      6. org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:318)
      6 frames
    15. jersey-core-server
      ApplicationHandler.handle
      1. org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:235)
      2. org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:983)
      2 frames
    16. jersey-container-grizzly2-http
      GrizzlyHttpContainer.service
      1. org.glassfish.jersey.grizzly2.httpserver.GrizzlyHttpContainer.service(GrizzlyHttpContainer.java:330)
      1 frame
    17. Grizzly Server
      HttpHandler$1.run
      1. org.glassfish.grizzly.http.server.HttpHandler$1.run(HttpHandler.java:212)
      1 frame
    18. Grizzly
      AbstractThreadPool$Worker.run
      1. org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:565)
      2. org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.run(AbstractThreadPool.java:545)
      2 frames
    19. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)
      1 frame