Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

HDP2.5 - SmartSense HST Server not starting up - java.nio.file.DirectoryNotEmptyException: /var/lib/smartsense/hst-server/updates/upload/patch/var/lib/smartsense/hst-common/anonymization/keys

Solved Go to solution
Highlighted

HDP2.5 - SmartSense HST Server not starting up - java.nio.file.DirectoryNotEmptyException: /var/lib/smartsense/hst-server/updates/upload/patch/var/lib/smartsense/hst-common/anonymization/keys

Expert Contributor

Hello All - i've HDP 2.5 & HST Server is not starting up ..

the error is as shown below, any ideas ?

------------------------------

java.nio.file.DirectoryNotEmptyException: /var/lib/smartsense/hst-server/updates/upload/patch/var/lib/smartsense/hst-common/anonymization/keys
at sun.nio.fs.UnixCopyFile.copy(UnixCopyFile.java:564)
at sun.nio.fs.UnixFileSystemProvider.copy(UnixFileSystemProvider.java:253)
at java.nio.file.Files.copy(Files.java:1274)
at com.hortonworks.support.tools.server.util.ConfigChangeListener.copyDirectorytoDirectory(ConfigChangeListener.java:258)
at com.hortonworks.support.tools.server.util.ConfigChangeListener.generatePatch(ConfigChangeListener.java:190)
at com.hortonworks.support.tools.server.util.ConfigPatchManager.manageConfigChange(ConfigPatchManager.java:40)
at com.hortonworks.support.tools.server.SupportToolServer.run(SupportToolServer.java:300)
at com.hortonworks.support.tools.server.SupportToolServer.main(SupportToolServer.java:666)
17 Jul 2017 19:35:04,716 ERROR [main] SupportToolServer:340 - Error stopping the server
java.lang.NullPointerException
at com.hortonworks.support.tools.server.SupportToolServer.stopBundleCleanupTask(SupportToolServer.java:652)
at com.hortonworks.support.tools.server.SupportToolServer.stop(SupportToolServer.java:338)
at com.hortonworks.support.tools.server.SupportToolServer.main(SupportToolServer.java:670)
1 ACCEPTED SOLUTION

Accepted Solutions

Re: HDP2.5 - SmartSense HST Server not starting up - java.nio.file.DirectoryNotEmptyException: /var/lib/smartsense/hst-server/updates/upload/patch/var/lib/smartsense/hst-common/anonymization/keys

Cloudera Employee

@Karan Alang Please try removing /var/lib/smartsense/hst-server/updates/upload/patch first and restart hst server and agents. If you still get the same error the try the same by removing /var/lib/smartsense/hst-server/updates/upload and restart.

View solution in original post

3 REPLIES 3
Highlighted

Re: HDP2.5 - SmartSense HST Server not starting up - java.nio.file.DirectoryNotEmptyException: /var/lib/smartsense/hst-server/updates/upload/patch/var/lib/smartsense/hst-common/anonymization/keys

Expert Contributor

@Olivier Renault, @mqureshi,

@Alex Miller, @Young Jin, Park - looping you in, any ideas on this ?

Re: HDP2.5 - SmartSense HST Server not starting up - java.nio.file.DirectoryNotEmptyException: /var/lib/smartsense/hst-server/updates/upload/patch/var/lib/smartsense/hst-common/anonymization/keys

Cloudera Employee

@Karan Alang Please try removing /var/lib/smartsense/hst-server/updates/upload/patch first and restart hst server and agents. If you still get the same error the try the same by removing /var/lib/smartsense/hst-server/updates/upload and restart.

View solution in original post

Highlighted

Re: HDP2.5 - SmartSense HST Server not starting up - java.nio.file.DirectoryNotEmptyException: /var/lib/smartsense/hst-server/updates/upload/patch/var/lib/smartsense/hst-common/anonymization/keys

Expert Contributor

@Aditya Pathak - thnx, i was able to remove - /var/lib/smartsense/hst-server/updates/upload/patch & start the hst-server & agents.

Don't have an account?
Coming from Hortonworks? Activate your account here