Thanks Chris. Yes I do get an error (I can't remember now because it's on a separate computer) during the init and I get a MagicNumber exception on the datanode during this process which says something like maybe encryption isn't turned on.
but let me make sure that the core-default.xml and core-site.xml are on the classpath. They may not be. Thanks again. On Tue, Dec 14, 2021 at 2:13 PM Christopher <ctubb...@apache.org> wrote: > I have not personally tested HDFS configured for SSL/TLS, but `new > Configuration()` will load the core-default.xml and core-site.xml > files it finds on the class path. So, it looks like it should work. > Have you tried it? Did you get an error? > > > On Tue, Dec 14, 2021 at 1:54 PM Vincent Russell > <vincent.russ...@gmail.com> wrote: > > > > Thank you Mike, > > > > but it appears that accumulo uses those settings to connect accumulo, but > > not to connect to hdfs. > > > > For instance the VolumeManagementImpl just does this: > > > > VolumeConfiguration.create(new Path(volumeUriOrDir), hadoopConf)); > > > > where the hadoopConf is just instantiated in the Initialize class: > > > > Configuration hadoopConfig = new Configuration(); > > VolumeManager fs = VolumeManagerImpl.get(siteConfig, hadoopConfig); > > > > Thanks, > > Vincent > > > > On Tue, Dec 14, 2021 at 12:18 PM Mike Miller <mmil...@apache.org> wrote: > > > > > Checkout the accumulo client properties that start with the "ssl" > prefix. > > > https://accumulo.apache.org/docs/2.x/configuration/client-properties > > > This blog post from a few years ago may help: > > > > > > > https://accumulo.apache.org/blog/2014/09/02/generating-keystores-for-configuring-accumulo-with-ssl.html > > > > > > On Tue, Dec 14, 2021 at 9:58 AM Vincent Russell < > vincent.russ...@gmail.com > > > > > > > wrote: > > > > > > > Hello, > > > > > > > > I am trying to init a test accumulo instance with an hdfs running > with > > > > SSL. Is this possible? I am looking at the code and it doesn't > look > > > > like this is possible. > > > > > > > > The Initialize class just instantiates a Hadoop config and passes > that > > > into > > > > the VolumeManager without sending over any hadoop configs from the > > > core.xml > > > > file. > > > > > > > > Am I missing something? > > > > > > > > Thanks in advance for your help, > > > > Vincent > > > > > > > >