Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]

Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

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

avatar
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

avatar
Rising Star

@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

avatar
Expert Contributor

@Olivier Renault, @mqureshi,

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

avatar
Rising Star

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

avatar
Expert Contributor

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