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 > > > > >