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!

Introducing Splunk Enterprise 9.2

WATCH HERE! Watch this Tech Talk to learn about the latest features and enhancements shipped in the new Splunk ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...