Hi,
I have Hunk 2.6 with the Hadoop Connect app. Export is failing due to license restriction. I am a student, so I don't have a license.
Please help me how do I fix the problem?
Error in the log
2015-08-23 00:45:11,932 ERROR run_export.py [<module>] [961] - Failed to run run_export script
Traceback (most recent call last):
File "/opt/splunk/hunk/etc/apps/HadoopConnect/bin/run_export.py", line 956, in <module>
runExport.main(results, settings, info, suh)
File "/opt/splunk/hunk/etc/apps/HadoopConnect/bin/run_export.py", line 813, in main
peers = entity.getEntities('search/distributed/peers', search="disabled=0", namespace=namespace, owner=owner, sessionKey=sessionKey)
File "/opt/splunk/hunk/lib/python2.7/site-packages/splunk/entity.py", line 129, in getEntities
atomFeed = _getEntitiesAtomFeed(entityPath, namespace, owner, search, count, offset, sort_key, sort_dir, sessionKey, uri, hostPath, **kwargs)
File "/opt/splunk/hunk/lib/python2.7/site-packages/splunk/entity.py", line 222, in _getEntitiesAtomFeed
serverResponse, serverContent = rest.simpleRequest(uri, getargs=kwargs, sessionKey=sessionKey, raiseAllErrors=True)
File "/opt/splunk/hunk/lib/python2.7/site-packages/splunk/rest/__init__.py", line 511, in simpleRequest
raise splunk.LicenseRestriction
LicenseRestriction: [HTTP 402] Current license does not allow the requested action
2015-08-23 00:50:10,210 ERROR run_export.py [<module>] [961] - Failed to run run_export script
Traceback (most recent call last):
File "/opt/splunk/hunk/etc/apps/HadoopConnect/bin/run_export.py", line 956, in <module>
runExport.main(results, settings, info, suh)
File "/opt/splunk/hunk/etc/apps/HadoopConnect/bin/run_export.py", line 813, in main
peers = entity.getEntities('search/distributed/peers', search="disabled=0", namespace=namespace, owner=owner, sessionKey=sessionKey)
File "/opt/splunk/hunk/lib/python2.7/site-packages/splunk/entity.py", line 129, in getEntities
atomFeed = _getEntitiesAtomFeed(entityPath, namespace, owner, search, count, offset, sort_key, sort_dir, sessionKey, uri, hostPath, **kwargs)
File "/opt/splunk/hunk/lib/python2.7/site-packages/splunk/entity.py", line 222, in _getEntitiesAtomFeed
serverResponse, serverContent = rest.simpleRequest(uri, getargs=kwargs, sessionKey=sessionKey, raiseAllErrors=True)
File "/opt/splunk/hunk/lib/python2.7/site-packages/splunk/rest/__init__.py", line 511, in simpleRequest
raise splunk.LicenseRestriction
LicenseRestriction: [HTTP 402] Current license does not allow the requested action
If you don't have a paid license anyway, consider updating to a more recent version, on an evaluation basis. You can read more about your options here: