Member since
01-18-2016
169
Posts
32
Kudos Received
21
Solutions
My Accepted Solutions
Title | Views | Posted |
---|---|---|
1007 | 06-27-2025 06:00 AM | |
1122 | 01-14-2025 06:30 PM | |
1784 | 04-06-2018 09:24 PM | |
1866 | 05-02-2017 10:43 PM | |
4953 | 01-24-2017 08:21 PM |
05-09-2016
03:55 PM
1 Kudo
If your index is of any significant size or has much of a load on it, I would recommend you install it on separate nodes.
... View more
05-05-2016
07:30 PM
Doing "vagrant suspend" and "vagrant resume" doesn't seem to bring things up cleanly. Thanks
... View more
Labels:
- Labels:
-
Apache Metron
05-02-2016
05:47 PM
I had something like this happen on my 16G macbook pro when I switched from 0.4.1 to 0.6.0 and reused the repository directories. It was just an experimental instance, so I abandoned the original repos and started from scratch, except for importing a few flows. I have not had the problem since. The odd thing in my case is that it was fine in 0.4.1 but not in 0.6.0.
... View more
04-28-2016
01:31 PM
2 Kudos
I wanted to offer another comparison tool option. After downloading configs, you might consider using a graphical tool like meld. It does a very nice job of file and directory comparison and merges. It will not only point out line differences but highlight character differences. Check out the images on their home page to know what to expect: http://http://meldmerge.org If you're doing a shell comparison using diff, try the -y option for a side-by-side diff. And there is a recursive option -r to compare directories. diff -ry <dirA> <dirB>
... View more
04-27-2016
07:15 PM
Awesome! Thanks for the full sample. By digging through source code I figured out that I could use the property object with evaluateExpressions(flowFile), but I did not realize that testProperty is a property already. duh. This is what I had tried but it printed "null", so assumed I was going down the wrong path.
flowFile = session.get()
if(!flowFile) return
def retVal = context.getProperty('testProperty').evaluateExpressions(flowFile)
log.info("-----------------------"+retVal?.value)
session.transfer(flowFile, REL_SUCCESS)
... View more
04-27-2016
05:33 PM
In an ExecuteScript processor, I added a property called testProperty and set the value to ${filename}. But when I reference it in my groovy script, I get "${filename}" rather than the value of the 'filename' in the incoming flowfile. ExecuteSripts says that properties support expression language, but I'm not seeing it. My test script is simple and I watch the logs. log.info(" -------------------------" + testProperty) It prints this but filename is a pre-existing attribute: -------------------------${filename} Thanks, Jim
... View more
Labels:
- Labels:
-
Apache NiFi
04-26-2016
07:59 PM
Really weird, but I'm glad you got it worked out. Cheers
... View more
04-26-2016
07:50 PM
Hi @Sunile Manjee. That's weird. I just followed those instructions and it worked and all was there. I think you may have been looking at different instructions. It says to work with this directory: /usr/local/solr_for_audit_setup. Did your steps start with this? wget https://issues.apache.org/jira/secure/attachment/12761323/solr_for_audit_setup_v3.tgz -O /usr/local/solr_for_audit_setup_v3.tgz
cd /usr/local
tar xvf solr_for_audit_setup_v3.tgz
cd /usr/local/solr_for_audit_setup
After editing the install.properties file, you run ./setup.sh and then execute this: /opt/solr/ranger_audit_server/scripts/add_ranger_audits_conf_to_zk.sh: That just uploads the config set to Zookeeper. The Create script you were looking for should be this one (not in the path you originally looked at):
/opt/solr/ranger_audit_server/scripts/create_ranger_audits_collection.sh Here is all that it does. curl --negotiate -u : "${SOLR_HOST_URL}/solr/admin/collections?action=CREATE&name=${COLLECTION_NAME}&numShards=${SHARDS}&replicationFactor=${REPLICATION}&collection.configName=$CONF_NAME&maxShardsPerNode=100"
... View more
04-26-2016
04:29 PM
Any luck with that @Sunile Manjee? It must have been moved from the install guide you are looking at. These instructions ^^^^ create a template and once you follow the instructions will create the script.
... View more
04-25-2016
06:58 PM
I posted a script for this above.
... View more
- « Previous
- Next »