dongbin86

Results 16 comments of dongbin86

yes , I change some code ,and i works fine ,here's the pull request https://github.com/streamsets/datacollector/pull/27

http://www.stratio.com/sparta/ “No Results Found”,anybody can tell us ,how to access ?

Aw, shoot. You don't have access [email protected], How to access the documents @compae

get_rotated_log_file this func seems doesnot work well because my rotated gc log names like this:hello.log.gc.0.current java -Xms128m -Xmx128m -Xmn32m -XX:+PrintTenuringDistribution -XX:SurvivorRatio=15 -XX:+UseParNewGC -XX:PermSize=28m -XX:+UseConcMarkSweepGC -XX:+UseCMSInitiatingOccupancyOnly -XX:CMSInitiatingOccupancyFraction=70 -XX:CMSFullGCsBeforeCompaction=5 -XX:+HeapDumpOnOutOfMemoryError -verbose:gc -XX:+PrintGCDetails...

we may need add “current” to find the gc log def get_rotated_log_file(gc_log_file): log_number = 0 while os.path.isfile("{0}.{1}.current".format(gc_log_file, log_number)): log_number += 1 if log_number: gc_log_file = "{0}.{1}.current".format(gc_log_file, (log_number - 1))

Sorry, I forgot how much data was written at that time, but it did happen, and I can't reproduce it.