org.apache.thrift.TApplicationException: Internal error processing getByIDWithOwnModerationRequests

GitHub | mcjaeger | 1 year ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    GitHub comment 91#188977719

    GitHub | 1 year ago | mcjaeger
    org.apache.thrift.TApplicationException: Internal error processing getByIDWithOwnModerationRequests
  2. 0

    GitHub comment 91#190106886

    GitHub | 1 year ago | heydenreich
    org.apache.thrift.TApplicationException: Internal error processing getByIDWithOwnModerationRequests
  3. 0

    Rarely, Adding a Release Fails

    GitHub | 4 months ago | mcjaeger
    org.apache.thrift.TApplicationException: Internal error processing getByID
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    cannot delete path when it contains "="

    Google Groups | 6 months ago | Jeff Tsai
    org.apache.thrift.TApplicationException: Internal error processing remove
  6. 0

    The error looks like this: {code} 2016-02-18 14:43:54,251 INFO hive.metastore: [main]: Trying to connect to metastore with URI thrift://host-10-17-81-201.coe.cloudera.com:9083 2016-02-18 14:48:54,692 WARN hive.metastore: [main]: Failed to connect to the MetaStore Server... 2016-02-18 14:48:54,692 INFO hive.metastore: [main]: Waiting 1 seconds before next connection attempt. 2016-02-18 14:48:55,692 INFO hive.metastore: [main]: Trying to connect to metastore with URI thrift://host-10-17-81-201.coe.cloudera.com:9083 2016-02-18 14:53:55,800 WARN hive.metastore: [main]: Failed to connect to the MetaStore Server... 2016-02-18 14:53:55,800 INFO hive.metastore: [main]: Waiting 1 seconds before next connection attempt. 2016-02-18 14:53:56,801 INFO hive.metastore: [main]: Trying to connect to metastore with URI thrift://host-10-17-81-201.coe.cloudera.com:9083 2016-02-18 14:58:56,967 WARN hive.metastore: [main]: Failed to connect to the MetaStore Server... 2016-02-18 14:58:56,967 INFO hive.metastore: [main]: Waiting 1 seconds before next connection attempt. 2016-02-18 14:58:57,994 WARN hive.ql.metadata.Hive: [main]: Failed to register all functions. java.lang.RuntimeException: Unable to instantiate org.apache.hadoop.hive.ql.metadata.SessionHiveMetaStoreClient at org.apache.hadoop.hive.metastore.MetaStoreUtils.newInstance(MetaStoreUtils.java:1492) at org.apache.hadoop.hive.metastore.RetryingMetaStoreClient.<init>(RetryingMetaStoreClient.java:64) at org.apache.hadoop.hive.metastore.RetryingMetaStoreClient.getProxy(RetryingMetaStoreClient.java:74) at org.apache.hadoop.hive.ql.metadata.Hive.createMetaStoreClient(Hive.java:2915) ....... 016-02-18 14:58:57,997 INFO hive.metastore: [main]: Trying to connect to metastore with URI thrift://host-10-17-81-201.coe.cloudera.com:9083 2016-02-18 15:03:58,094 WARN hive.metastore: [main]: Failed to connect to the MetaStore Server... 2016-02-18 15:03:58,095 INFO hive.metastore: [main]: Waiting 1 seconds before next connection attempt. 2016-02-18 15:03:59,095 INFO hive.metastore: [main]: Trying to connect to metastore with URI thrift://host-10-17-81-201.coe.cloudera.com:9083 2016-02-18 15:08:59,203 WARN hive.metastore: [main]: Failed to connect to the MetaStore Server... 2016-02-18 15:08:59,203 INFO hive.metastore: [main]: Waiting 1 seconds before next connection attempt. 2016-02-18 15:09:00,203 INFO hive.metastore: [main]: Trying to connect to metastore with URI thrift://host-10-17-81-201.coe.cloudera.com:9083 2016-02-18 15:14:00,304 WARN hive.metastore: [main]: Failed to connect to the MetaStore Server... 2016-02-18 15:14:00,304 INFO hive.metastore: [main]: Waiting 1 seconds before next connection attempt. 2016-02-18 15:14:01,306 INFO org.apache.hive.service.server.HiveServer2: [main]: Shutting down HiveServer2 2016-02-18 15:14:01,308 INFO org.apache.hive.service.server.HiveServer2: [main]: Exception caught when calling stop of HiveServer2 before retrying start java.lang.NullPointerException at org.apache.hive.service.server.HiveServer2.stop(HiveServer2.java:283) at org.apache.hive.service.server.HiveServer2.startHiveServer2(HiveServer2.java:351) at org.apache.hive.service.server.HiveServer2.access$400(HiveServer2.java:69) at org.apache.hive.service.server.HiveServer2$StartOptionExecutor.execute(HiveServer2.java:545) {code} And then none of the functions will be available for use as HS2 does not re-register them after HMS is up and ready. This is not desired behaviour, we shouldn't allow HS2 to be in a servicing state if function list is not ready. Or, maybe instead of initialize the function list when HS2 starts, try to load the function list when each Hive session is created. Of course we can have a cache of function list somewhere for better performance, but we would better decouple it from class Hive.

    Apache's JIRA Issue Tracker | 1 year ago | Eric Lin
    java.lang.RuntimeException: org.apache.hadoop.hive.ql.metadata.HiveException: org.apache.hadoop.hive.ql.metadata.HiveException: org.apache.thrift.TApplicationException: Invalid method name: 'get_all_functions'
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.thrift.TApplicationException

    Internal error processing getByIDWithOwnModerationRequests

    at org.apache.thrift.TApplicationException.read()
  2. Apache Thrift
    TServiceClient.receiveBase
    1. org.apache.thrift.TApplicationException.read(TApplicationException.java:111)
    2. org.apache.thrift.TServiceClient.receiveBase(TServiceClient.java:79)
    2 frames
  3. com.siemens.sw360
    LicensesPortlet.doView
    1. com.siemens.sw360.datahandler.thrift.licenses.LicenseService$Client.recv_getByIDWithOwnModerationRequests(LicenseService.java:290)
    2. com.siemens.sw360.datahandler.thrift.licenses.LicenseService$Client.getByIDWithOwnModerationRequests(LicenseService.java:275)
    3. com.siemens.sw360.portal.portlets.licenses.LicensesPortlet.doView(LicensesPortlet.java:99)
    3 frames
  4. Liferay Portal Service
    LiferayPortlet.doDispatch
    1. com.liferay.portal.kernel.portlet.LiferayPortlet.doDispatch(LiferayPortlet.java:235)
    1 frame
  5. Liferay Util Bridges
    MVCPortlet.doDispatch
    1. com.liferay.util.bridges.mvc.MVCPortlet.doDispatch(MVCPortlet.java:314)
    1 frame
  6. Java Portlet Specification V2.0
    GenericPortlet.render
    1. javax.portlet.GenericPortlet.render(GenericPortlet.java:262)
    1 frame
  7. Liferay Portal Service
    FilterChainImpl.doFilter
    1. com.liferay.portlet.FilterChainImpl.doFilter(FilterChainImpl.java:103)
    1 frame