-
Notifications
You must be signed in to change notification settings - Fork 233
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
not able to read property file normally. #94
Comments
Sounds like a bug. Can you please try it with
|
a way you mentioned is working nicely. ;) anyway, in the wiki, there are pages to set up configurations for hbase. is it working? |
Okay.This will be fixed in latest trunk branch. Yes, those are definitly working. There is one HBasePropertyReaderTest added to demonstrate the same. Plese close this issue, if it is working fine for you. -Vivek |
wow, yes, it is working very perfectly. in my debug, the lastest library 2.0.7 also returns normal property name which is named as "kundera-hbase.properties". but, it got a "null" value from ClassLoader. Can I ask you what the differences between the test-case and my project? I mean that why the case I have return a "null" value. |
ClassLoader.getSystemResourceAsStream is trying to load system resources but your properties file is not system resources. Other alternative, which i have suggested is a better way to load user as well as system resources. -Vivek |
Is there any way to put my configuration files into a system resources area? thanks for your speedy and kind answer |
Not sure. But this should give you a brief about this : http://stackoverflow.com/questions/2815404/load-properties-file-in-jar |
Shall i close this now, if working fine for you? -Vivek |
thanks for your nice supports. additionally, Is there any workaround way to fix for my one? |
There is a branch(2.0.7.1) created for bug fixes done on 2.0.7. You need to download and build kundera-hbase from this branch to get this working. -Vivek |
thanks for your responses again. |
The class HBasePropertyReader has read().
in this method, it try to load "kundera-hbase.properties" for hbase.
but, it is not able to load it properly.
it returns always "null" value.
if I modified it to
it returns a stream object what I want to have.
The text was updated successfully, but these errors were encountered: