All Apps and Add-ons

Hunk 2.6.0 & Splunk Hadoop Connect: How can I run the export script if I don't have the required license?

narayanab16
New Member

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

kschon_splunk
Splunk Employee
Splunk Employee

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:

http://www.splunk.com/view/SP-CAAAGPE

0 Karma
Get Updates on the Splunk Community!

Upcoming Webinar: Unmasking Insider Threats with Slunk Enterprise Security’s UEBA

Join us on Wed, Dec 10. at 10AM PST / 1PM EST for a live webinar and demo with Splunk experts! Discover how ...

.conf25 technical session recap of Observability for Gen AI: Monitoring LLM ...

If you’re unfamiliar, .conf is Splunk’s premier event where the Splunk community, customers, partners, and ...

A Season of Skills: New Splunk Courses to Light Up Your Learning Journey

There’s something special about this time of year—maybe it’s the glow of the holidays, maybe it’s the ...