[ https://issues.apache.org/jira/browse/YARN-9387?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16793421#comment-16793421 ]
Prabhu Joseph commented on YARN-9387: ------------------------------------- [~rohithsharma] Can you review this Doc bug - fixes a bug and adds missing explanation on how to use custom table name options from {{TimelineSchemaCreator}}. !Screen Shot 2019-03-15 at 1.21.21 PM.png|height=250,width=500! > ATS HBase Custom tablenames (-entityTableName) not honored at read / write > -------------------------------------------------------------------------- > > Key: YARN-9387 > URL: https://issues.apache.org/jira/browse/YARN-9387 > Project: Hadoop YARN > Issue Type: Sub-task > Components: ATSv2 > Affects Versions: 3.1.2, 3.3.0, 3.2.1 > Reporter: Prabhu Joseph > Assignee: Prabhu Joseph > Priority: Critical > Attachments: Screen Shot 2019-03-15 at 1.21.21 PM.png, > YARN-9387-001.patch > > > {{HbaseTimelineSchemaCreator}} provides option to provide custom table name > and it creates properly. But The {{HBaseTimelineWriterImpl / > HBaseTimelineReaderImpl}} does not know the custom name and uses the table > with default name leading to data loss. > NM {{TimelineCollector}} inserts to default table name > '{{prod.timelineservice.entity' }} which won;t be exist. > {code} > 2019-03-14 15:37:10,739 WARN > org.apache.hadoop.yarn.webapp.GenericExceptionHandler: INTERNAL_SERVER_ERROR > javax.ws.rs.WebApplicationException: > org.apache.hadoop.hbase.client.RetriesExhaustedWithDetailsException: Failed > 20 actions: Table 'prod.timelineservice.entity' was not found, got: > prod.timelineservice.domain.: 20 times, > at > org.apache.hadoop.yarn.server.timelineservice.collector.TimelineCollectorWebService.putEntities(TimelineCollectorWebService.java:197) > at sun.reflect.GeneratedMethodAccessor46.invoke(Unknown Source) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:498) > at > com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60) > at > com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$ResponseOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:205) > at > com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75) > at > com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:302) > at > com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147) > at > com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:108) > at > com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147) > at > com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:84) > at > com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1542) > at > com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1473) > at > com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1419) > at > com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1409) > at > com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:409) > {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org