hadoop - Check whether a given input file in HDFS is being used by any job at a given point in time -



hadoop - Check whether a given input file in HDFS is being used by any job at a given point in time -

if submit input file in hdfs , run multiple jobs access file, there way check whether input file beingness accessed of these jobs and/or of these jobs @ given instant in time?

you can print filename within mapper of job. when job runs print name , can find out file beingness used job @ time. how can filename within mapper :

filesplit filesplit = (filesplit)context.getinputsplit(); string filename = filesplit.getpath().getname();

hth

hadoop hdfs jobs

Comments

Popular posts from this blog

php - Android app custom user registration and login with cookie using facebook sdk -

django - Access session in user model .save() -

php - .htaccess Multiple Rewrite Rules / Prioritizing -