Couple of thoughts 1 - Are you putting the jar on all the tservers and restarting everthing? 2 - Have you tried setting the formatter on the table as opposed to the scan command. Something like 'config -t mytable -s table.formatter=com.example.MyFormatter'
Mike On Tue, Jul 16, 2019 at 2:50 PM mhd wrk <[email protected]> wrote: > I'm trying to use a custom formatter with scan command in Accumulo shell, but > seems that scan simply ignores the custom formatter and uses the default one! > > The steps I follow are: > > 1- Create custom Formatter by extending > org.apache.accumulo.core.util.format.Formatter > > 2- Copy the jar to ${ACCUMULO_HOME}/lib > > 3- Restart Accumulo to make sure everything is reloaded. > > 4- run `accumulo shell` > > 5- run `classpath` and confirm that the formatter jar is included in the path. > > 5- `scan -f 50 -fm com.example.MyFormatter -st -t mytable` > > > Accumulo version: 1.7.2 > > > Any known issues? > > > Thanks, > > Mohammad > > > >
