Most likely a bearing retaining compound.
Remove it. check the bearing fit as you might have to use locktite gap filler aound it if it is too sloppy or even a speedy shim if there is a lot of play.
I have seen meteric bearings fitted to replace imperial ones with a lot of gunk to glue them into space.