Yes the jar is on all the tservers and I tried `config`command and `formatter` commands as alternatives. Unfortunately no luck yet.
On Tue, Jul 16, 2019 at 1:30 PM Michael Wall <mjw...@apache.org> wrote: > 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 <mhdwrkoff...@gmail.com> 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 >> >> >> >>