[ https://issues.apache.org/jira/browse/CASSANDRA-5826?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13729907#comment-13729907 ]
Vijay commented on CASSANDRA-5826: ---------------------------------- Hi Brandon did the patch apply clean? {code} File tiggerDirectory = FBUtilities.cassandraTriggerDir(); if (tiggerDirectory == null) return; {code} should save a NPE, i did test it and worked fine for me. > Fix trigger directory detection code > ------------------------------------ > > Key: CASSANDRA-5826 > URL: https://issues.apache.org/jira/browse/CASSANDRA-5826 > Project: Cassandra > Issue Type: Bug > Components: Core > Affects Versions: 2.0 beta 2 > Environment: OS X > Reporter: Aleksey Yeschenko > Assignee: Vijay > Labels: triggers > Fix For: 2.0 rc1 > > Attachments: 0001-5826.patch, 0001-handle-trigger-non-existance.patch > > > At least when building from source, Cassandra determines the trigger > directory wrong. C* calculates the trigger directory as 'build/triggers' > instead of 'triggers'. > FBUtilities.cassandraHomeDir() is to blame, and should be replaced with > something more robust. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira