accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Corey J. Nolet (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (ACCUMULO-3365) TraceServer dies if trace table is offline during constructor
Date Thu, 18 Dec 2014 03:51:14 GMT

     [ https://issues.apache.org/jira/browse/ACCUMULO-3365?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Corey J. Nolet updated ACCUMULO-3365:
-------------------------------------
    Fix Version/s:     (was: 1.6.2)
                   1.6.3

> TraceServer dies if trace table is offline during constructor
> -------------------------------------------------------------
>
>                 Key: ACCUMULO-3365
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-3365
>             Project: Accumulo
>          Issue Type: Bug
>          Components: trace
>    Affects Versions: 1.6.1
>            Reporter: Josh Elser
>            Assignee: Josh Elser
>            Priority: Minor
>             Fix For: 1.7.0, 1.6.3
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> The constructor of TraceServer
> {code}
> writer = new AtomicReference<BatchWriter>(this.connector.createBatchWriter(table,
new BatchWriterConfig().setMaxLatency(5, TimeUnit.SECONDS)));
> {code}
> The BatchWriter will throw a RuntimeException if the table happens to be offline. The
TraceServer should be able to handle this.
> {noformat}
> Thread "org.apache.accumulo.tracer.TraceServer" died Table trace (1) is offline
> org.apache.accumulo.core.client.TableOfflineException: Table trace (1) is offline
>         at org.apache.accumulo.core.client.impl.ConnectorImpl.getTableId(ConnectorImpl.java:86)
>         at org.apache.accumulo.core.client.impl.ConnectorImpl.createBatchWriter(ConnectorImpl.java:128)
>         at org.apache.accumulo.tracer.TraceServer.<init>(TraceServer.java:228)
>         at org.apache.accumulo.tracer.TraceServer.main(TraceServer.java:303)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>         at java.lang.reflect.Method.invoke(Method.java:606)
>         at org.apache.accumulo.start.Main$1.run(Main.java:141)
>         at java.lang.Thread.run(Thread.java:745)
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message