You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "dlmarion (via GitHub)" <gi...@apache.org> on 2023/03/16 14:41:14 UTC
[GitHub] [accumulo] dlmarion opened a new issue, #3242: Compact command creates fate operation for offline table
dlmarion opened a new issue, #3242:
URL: https://github.com/apache/accumulo/issues/3242
**Describe the bug**
The `compact` command will successfully create a fate operation to compact an offline table (the fate operation will eventually fail). I found this while testing the ondemand tables as I expected it to fail. For example, when I run a `merge` or `addsplits` operations against an offline table, I get the error:
```
[shell.Shell] ERROR: org.apache.accumulo.core.client.TableOfflineException: Table test (3) is offline
```
**Versions (OS, Maven, Java, and others, as appropriate):**
- Affected version(s) of this project: 3.0, probable that 1.10 and 2.1 are affected as well
**To Reproduce**
```
createtable test
offline test
addsplits m -t test
merge -b a -e z -t test
compact -t test
```
**Expected behavior**
I would expect the shell to return:
```
[shell.Shell] ERROR: org.apache.accumulo.core.client.TableOfflineException: Table test (3) is offline
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@accumulo.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [accumulo] Manno15 commented on issue #3242: Compact command creates fate operation for offline table
Posted by "Manno15 (via GitHub)" <gi...@apache.org>.
Manno15 commented on issue #3242:
URL: https://github.com/apache/accumulo/issues/3242#issuecomment-1475303228
To add some info on this. If you run the command
`compact -t test -w` then it will throw the offline command. Without it, the transaction gets seeded as you stated.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@accumulo.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org