[ 
https://issues.apache.org/jira/browse/BIGTOP-1221?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13929798#comment-13929798
 ] 

jay vyas commented on BIGTOP-1221:
----------------------------------

hi folks.  i know its a busy week for everyone so might take a few more days to 
get this commited, ...  but just FYI have now run a final test of this patch to 
confirm it works in its existing state.    Its definetly ready to roll !  

{noformat} 
[root@vagrant bigtop]# groovy -classpath 
/usr/lib/hadoop/hadoop-common-2.0.6-alpha.jar:/root/.m2/repository/org/apache/bigtop/itest/itest-common/0.8.0-SNAPSHOT/itest-common-0.8.0-SNAPSHOT.jar:/usr/lib/hadoop/lib/guava-11.0.2.jar:/etc/hadoop/conf/
 
bigtop-tests/test-artifacts/hadoop/src/main/groovy/org/apache/bigtop/itest/hadoop/hcfs/TestFuseHCFS.groovy
 
Mar 11, 2014 12:37:33 AM org.apache.commons.logging.Log$info$0 call
INFO: mounting dfs://vagrant.bigtop1:17020 on /tmp/hcfs-test
Mar 11, 2014 12:37:35 AM org.apache.commons.logging.Log$info$0 call
INFO: /bin/cp -rf /tmp/FUSETEST_bigtop 
/tmp/hcfs-test/user/root/TestFuseDFS-testDir/cf2 out : []
Mar 11, 2014 12:37:37 AM org.apache.commons.logging.Log$info$0 call
INFO: cat output = [hi_bigtop, hi_bigtop] [] 0
Mar 11, 2014 12:37:37 AM org.apache.commons.logging.Log$info$0 call
INFO: Cleaning after sleep 2 && cat 
/tmp/hcfs-test/user/root/TestFuseDFS-testDir/cf2
Mar 11, 2014 12:37:38 AM org.apache.commons.logging.Log$info$0 call
INFO: [/tmp/hcfs-test/user/root/TestFuseDFS-testDir/dir1]
Mar 11, 2014 12:37:38 AM org.apache.commons.logging.Log$info$0 call
INFO: Cleaning after mkdir /tmp/hcfs-test/user/root/TestFuseDFS-testDir/dir1 && 
cd /tmp/hcfs-test/user/root/TestFuseDFS-testDir/dir1 && pwd
Mar 11, 2014 12:37:38 AM org.apache.commons.logging.Log$info$0 call
INFO: [file1]
Mar 11, 2014 12:37:38 AM org.apache.commons.logging.Log$info$0 call
INFO: Cleaning after touch /tmp/hcfs-test/user/root/TestFuseDFS-testDir/file1 
&& ls /tmp/hcfs-test/user/root/TestFuseDFS-testDir
Mar 11, 2014 12:37:38 AM org.apache.commons.logging.Log$info$0 call
INFO: After cd, pwd=/tmp/hcfs-test/user/root/TestFuseDFS-testDir
Mar 11, 2014 12:37:38 AM org.apache.commons.logging.Log$info$0 call
INFO: Cleaning after cd /tmp/hcfs-test/user/root/TestFuseDFS-testDir && pwd 
Mar 11, 2014 12:37:39 AM org.apache.commons.logging.Log$info$0 call
INFO: Cleaning after mkdir 
/tmp/hcfs-test/user/root/TestFuseDFS-testDir/targetdir &&echo 
ABCDEFGHIJKLMNOPZUIRPIEOF > /tmp/hcfs-test/user/root/TestFuseDFS-testDir/cp1 && 
echo ABCDEFGHIJKLMNOPZUIRPIEOF > 
/tmp/hcfs-test/user/root/TestFuseDFS-testDir/cp2 && /bin/cp -rf 
/tmp/hcfs-test/user/root/TestFuseDFS-testDir/cp* 
/tmp/hcfs-test/user/root/TestFuseDFS-testDir/targetdir/
Mar 11, 2014 12:37:39 AM org.apache.commons.logging.Log$info$0 call
INFO: touch /tmp/hcfs-test/user/root/TestFuseDFS-testDir/non-trivial-fn out : []
Mar 11, 2014 12:37:40 AM org.apache.commons.logging.Log$info$0 call
INFO: Cleaning after ls -altrh /tmp/hcfs-test/user/root/TestFuseDFS-testDir
Mar 11, 2014 12:37:40 AM org.apache.commons.logging.Log$info$0 call
INFO: mkdir -p /tmp/hcfs-test/user/root/TestFuseDFS-testDir/subdir1 && touch 
/tmp/hcfs-test/user/root/TestFuseDFS-testDir/subdir1/innerfile out : []
Mar 11, 2014 12:37:40 AM org.apache.commons.logging.Log$info$0 call
INFO: Cleaning after mv /tmp/hcfs-test/user/root/TestFuseDFS-testDir/subdir1 
/tmp/hcfs-test/user/root/TestFuseDFS-testDir/subdir2
Mar 11, 2014 12:37:41 AM org.apache.commons.logging.Log$info$0 call
INFO: touch /tmp/hcfs-test/user/root/TestFuseDFS-testDir/file-removed out : []
Mar 11, 2014 12:37:41 AM org.apache.commons.logging.Log$info$0 call
INFO: Cleaning after rm 
/tmp/hcfs-test/user/root/TestFuseDFS-testDir/file-removed
JUnit 4 Runner, Tests: 8, Failures: 0, Time: 8547
[root@vagrant bigtop]# 

{noformat} 

> Expand and updated FUSE tests
> -----------------------------
>
>                 Key: BIGTOP-1221
>                 URL: https://issues.apache.org/jira/browse/BIGTOP-1221
>             Project: Bigtop
>          Issue Type: Bug
>          Components: Tests
>    Affects Versions: 0.7.0
>            Reporter: jay vyas
>            Assignee: jay vyas
>             Fix For: 0.8.0
>
>         Attachments: BIGTOP-1221-tested-refined-3.patch, 
> BIGTOP-1221.4.intellij.patch, BIGTOP-1221.5.patch, BIGTOP-1221.6.patch, 
> BIGTOP-1221.patch
>
>
> The BigTop TestFuseDFS need 
> - tests for consistency after individual writes : consistency in FUSE mounts 
> is important since there are often associated multitenant workloads.  Writes 
> should result in immediate recognition of a file. 
> - Should use HCFS semantics (That way we can confidently  use and maintain 
> this for alternative file system implementations).
> - should use logging instead of System.out.  That way all the logs can be 
> picked up from the same place in case we change the logging framework.  
> Logging in trace mode, in any case, will allow us to see everything that the 
> ITest shell does, and so might as well use it for other logs.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to