[ https://issues.apache.org/jira/browse/HBASE-13809?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14566244#comment-14566244 ]
Andrew Purtell commented on HBASE-13809: ---------------------------------------- No specific reason. Not strictly needed at the time? bq. Should HBaseTestingUtility#closeRegionAndWAL() be ported to branch-1 ? I see no reason why not, if it will be a useful change. > TestRowTooBig should use HDFS directory for its region directory > ---------------------------------------------------------------- > > Key: HBASE-13809 > URL: https://issues.apache.org/jira/browse/HBASE-13809 > Project: HBase > Issue Type: Bug > Components: test > Affects Versions: 2.0.0, 1.1.0, 1.2.0 > Environment: Windows > Reporter: Stephen Yuan Jiang > Assignee: Stephen Yuan Jiang > Priority: Minor > Attachments: HBASE-13809.v1-branch-1.patch, > HBASE-13809.v1-master.patch, HBASE-13809.v2-master.patch > > > TestRowTooBig uses local directory to create region, which does not work well > in Windows, and the code path expects s DFS file path > {noformat} > java.lang.Exception: Unexpected exception, > expected<org.apache.hadoop.hbase.regionserver.RowTooBigException> but > was<java.lang.IllegalArgumentException> > at > org.apache.hadoop.hdfs.DistributedFileSystem.getPathName(DistributedFileSystem.java:197) > at > org.apache.hadoop.hdfs.DistributedFileSystem.access$000(DistributedFileSystem.java:106) > at > org.apache.hadoop.hdfs.DistributedFileSystem$22.doCall(DistributedFileSystem.java:1305) > at > org.apache.hadoop.hdfs.DistributedFileSystem$22.doCall(DistributedFileSystem.java:1301) > at > org.apache.hadoop.fs.FileSystemLinkResolver.resolve(FileSystemLinkResolver.java:81) > at > org.apache.hadoop.hdfs.DistributedFileSystem.getFileStatus(DistributedFileSystem.java:1301) > at org.apache.hadoop.fs.FileSystem.exists(FileSystem.java:1424) > at > org.apache.hadoop.hbase.regionserver.HRegionFileSystem.createRegionOnFileSystem(HRegionFileSystem.java:875) > at > org.apache.hadoop.hbase.regionserver.HRegion.createHRegion(HRegion.java:5921) > at > org.apache.hadoop.hbase.regionserver.HRegion.createHRegion(HRegion.java:5892) > at > org.apache.hadoop.hbase.regionserver.HRegion.createHRegion(HRegion.java:5867) > at > org.apache.hadoop.hbase.regionserver.HRegion.createHRegion(HRegion.java:5949) > at > org.apache.hadoop.hbase.regionserver.HRegion.createHRegion(HRegion.java:5828) > at > org.apache.hadoop.hbase.HBaseTestingUtility.createLocalHRegion(HBaseTestingUtility.java:1877) > at > org.apache.hadoop.hbase.regionserver.TestRowTooBig.testScannersSeekOnFewLargeCells(TestRowTooBig.java:83) > java.lang.Exception: Unexpected exception, > expected<org.apache.hadoop.hbase.regionserver.RowTooBigException> but > was<java.lang.IllegalArgumentException> > at > org.apache.hadoop.hdfs.DistributedFileSystem.getPathName(DistributedFileSystem.java:197) > at > org.apache.hadoop.hdfs.DistributedFileSystem.access$000(DistributedFileSystem.java:106) > at > org.apache.hadoop.hdfs.DistributedFileSystem$22.doCall(DistributedFileSystem.java:1305) > at > org.apache.hadoop.hdfs.DistributedFileSystem$22.doCall(DistributedFileSystem.java:1301) > at > org.apache.hadoop.fs.FileSystemLinkResolver.resolve(FileSystemLinkResolver.java:81) > at > org.apache.hadoop.hdfs.DistributedFileSystem.getFileStatus(DistributedFileSystem.java:1301) > at org.apache.hadoop.fs.FileSystem.exists(FileSystem.java:1424) > at > org.apache.hadoop.hbase.regionserver.HRegionFileSystem.createRegionOnFileSystem(HRegionFileSystem.java:875) > at > org.apache.hadoop.hbase.regionserver.HRegion.createHRegion(HRegion.java:5921) > at > org.apache.hadoop.hbase.regionserver.HRegion.createHRegion(HRegion.java:5892) > at > org.apache.hadoop.hbase.regionserver.HRegion.createHRegion(HRegion.java:5867) > at > org.apache.hadoop.hbase.regionserver.HRegion.createHRegion(HRegion.java:5949) > at > org.apache.hadoop.hbase.regionserver.HRegion.createHRegion(HRegion.java:5828) > at > org.apache.hadoop.hbase.HBaseTestingUtility.createLocalHRegion(HBaseTestingUtility.java:1877) > at > org.apache.hadoop.hbase.regionserver.TestRowTooBig.testScanAcrossManySmallColumns(TestRowTooBig.java:125) > {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332)