accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <>
Subject [jira] [Commented] (ACCUMULO-4147) Add Accumulo Namespace Operations to Proxy
Date Fri, 26 Feb 2016 01:16:18 GMT


ASF GitHub Bot commented on ACCUMULO-4147:

Github user tristeng commented on the pull request:
    Added in IT tests for the new functions, but ran into an interesting error and am hoping
you all can provide me with some insight. I've added the following test into TestProxyNamespaceOperations:
      @Ignore("namespaceIdMap() is returning unexpected results; Python client works as expected.
      public void namespaceIds() throws TException {
        assertEquals(tpc.proxy().namespaceIdMap(userpass).get("accumulo"), "+accumulo");
    You can see I've ignored it...when I run through the debugger, `tpc.proxy().namespaceIdMap(userpass)`
returns a map that seems to list the accumulo namespace tables (unexpected):
    "accumulo.replication" -> "accumulo.replication"
    "accumulo.metadata" -> "accumulo.metadata"
    "accumulo.root" -> "accumulo.root"
    When I run this same function through the Python test client and print the map, I get
this Python map (which is what I expect for this function):
    `{'': '+default', 'testing': '1', 'accumulo': '+accumulo'}`
    As far as I can tell, I haven't messed up the function in the file:
      public Map<String,String> namespaceIdMap(ByteBuffer login) throws org.apache.accumulo.proxy.thrift.AccumuloException,
          org.apache.accumulo.proxy.thrift.AccumuloSecurityException, TException {
        try {
          return getConnector(login).namespaceOperations().namespaceIdMap();
        } catch (Exception e) {
          return null;
    Any thoughts on where I should look?

> Add Accumulo Namespace Operations to Proxy
> ------------------------------------------
>                 Key: ACCUMULO-4147
>                 URL:
>             Project: Accumulo
>          Issue Type: Improvement
>          Components: proxy
>    Affects Versions: 1.7.1
>            Reporter: Tristen Georgiou
>            Assignee: Tristen Georgiou
>            Priority: Minor
> The namespace operations are absent from the Accumulo proxy.

This message was sent by Atlassian JIRA

View raw message