[jira] [Updated] (HBASE-18377) Error handling for FileNotFoundException should consider RemoteException in openReader()

2018-03-21 Thread stack (JIRA)

 [ 
https://issues.apache.org/jira/browse/HBASE-18377?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

stack updated HBASE-18377:
--
Fix Version/s: (was: 3.0.0)

> Error handling for FileNotFoundException should consider RemoteException in 
> openReader()
> 
>
> Key: HBASE-18377
> URL: https://issues.apache.org/jira/browse/HBASE-18377
> Project: HBase
>  Issue Type: Bug
>Reporter: Ted Yu
>Assignee: Ted Yu
>Priority: Major
> Fix For: 1.4.0, 2.0.0-alpha-2, 2.0.0
>
> Attachments: 18377.branch-1.3.txt, 18377.v1.txt
>
>
> In region server log, I observed the following:
> {code}
> org.apache.hadoop.ipc.RemoteException(java.io.FileNotFoundException): File 
> does not exist: 
> /apps/hbase/data/WALs/lx.p.com,16020,1497300923131/497300923131. 
> default.1497302873178
>   at 
> org.apache.hadoop.hdfs.server.namenode.INodeFile.valueOf(INodeFile.java:71)
>   at 
> org.apache.hadoop.hdfs.server.namenode.INodeFile.valueOf(INodeFile.java:61)
>   at 
> org.apache.hadoop.hdfs.server.namenode.FSNamesystem.getBlockLocationsInt(FSNamesystem.java:1860)
>   at 
> org.apache.hadoop.hdfs.server.namenode.FSNamesystem.getBlockLocations(FSNamesystem.java:1831)
>   at 
> org.apache.hadoop.hdfs.server.namenode.FSNamesystem.getBlockLocations(FSNamesystem.java:1744)
> ...
>   at 
> org.apache.hadoop.fs.FileSystemLinkResolver.resolve(FileSystemLinkResolver.java:81)
>   at 
> org.apache.hadoop.hdfs.DistributedFileSystem.open(DistributedFileSystem.java:326)
>   at org.apache.hadoop.fs.FilterFileSystem.open(FilterFileSystem.java:162)
>   at org.apache.hadoop.fs.FileSystem.open(FileSystem.java:782)
>   at org.apache.hadoop.hbase.wal.WALFactory.createReader(WALFactory.java:293)
>   at org.apache.hadoop.hbase.wal.WALFactory.createReader(WALFactory.java:267)
>   at org.apache.hadoop.hbase.wal.WALFactory.createReader(WALFactory.java:255)
>   at org.apache.hadoop.hbase.wal.WALFactory.createReader(WALFactory.java:414)
>   at 
> org.apache.hadoop.hbase.replication.regionserver.ReplicationWALReaderManager.openReader(ReplicationWALReaderManager.java:69)
>   at 
> org.apache.hadoop.hbase.replication.regionserver.ReplicationSource.openReader(ReplicationSource.java:605)
>   at 
> org.apache.hadoop.hbase.replication.regionserver.ReplicationSource.run(ReplicationSource.java:364)
> {code}
> We have code in ReplicationSource#openReader() which is supposed to handle 
> FileNotFoundException but RemoteException wrapping FileNotFoundException was 
> missed.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (HBASE-18377) Error handling for FileNotFoundException should consider RemoteException in openReader()

2017-11-08 Thread Andrew Purtell (JIRA)

 [ 
https://issues.apache.org/jira/browse/HBASE-18377?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andrew Purtell updated HBASE-18377:
---
Fix Version/s: (was: 1.5.0)

> Error handling for FileNotFoundException should consider RemoteException in 
> openReader()
> 
>
> Key: HBASE-18377
> URL: https://issues.apache.org/jira/browse/HBASE-18377
> Project: HBase
>  Issue Type: Bug
>Reporter: Ted Yu
>Assignee: Ted Yu
> Fix For: 3.0.0, 1.4.0, 2.0.0-alpha-2
>
> Attachments: 18377.branch-1.3.txt, 18377.v1.txt
>
>
> In region server log, I observed the following:
> {code}
> org.apache.hadoop.ipc.RemoteException(java.io.FileNotFoundException): File 
> does not exist: 
> /apps/hbase/data/WALs/lx.p.com,16020,1497300923131/497300923131. 
> default.1497302873178
>   at 
> org.apache.hadoop.hdfs.server.namenode.INodeFile.valueOf(INodeFile.java:71)
>   at 
> org.apache.hadoop.hdfs.server.namenode.INodeFile.valueOf(INodeFile.java:61)
>   at 
> org.apache.hadoop.hdfs.server.namenode.FSNamesystem.getBlockLocationsInt(FSNamesystem.java:1860)
>   at 
> org.apache.hadoop.hdfs.server.namenode.FSNamesystem.getBlockLocations(FSNamesystem.java:1831)
>   at 
> org.apache.hadoop.hdfs.server.namenode.FSNamesystem.getBlockLocations(FSNamesystem.java:1744)
> ...
>   at 
> org.apache.hadoop.fs.FileSystemLinkResolver.resolve(FileSystemLinkResolver.java:81)
>   at 
> org.apache.hadoop.hdfs.DistributedFileSystem.open(DistributedFileSystem.java:326)
>   at org.apache.hadoop.fs.FilterFileSystem.open(FilterFileSystem.java:162)
>   at org.apache.hadoop.fs.FileSystem.open(FileSystem.java:782)
>   at org.apache.hadoop.hbase.wal.WALFactory.createReader(WALFactory.java:293)
>   at org.apache.hadoop.hbase.wal.WALFactory.createReader(WALFactory.java:267)
>   at org.apache.hadoop.hbase.wal.WALFactory.createReader(WALFactory.java:255)
>   at org.apache.hadoop.hbase.wal.WALFactory.createReader(WALFactory.java:414)
>   at 
> org.apache.hadoop.hbase.replication.regionserver.ReplicationWALReaderManager.openReader(ReplicationWALReaderManager.java:69)
>   at 
> org.apache.hadoop.hbase.replication.regionserver.ReplicationSource.openReader(ReplicationSource.java:605)
>   at 
> org.apache.hadoop.hbase.replication.regionserver.ReplicationSource.run(ReplicationSource.java:364)
> {code}
> We have code in ReplicationSource#openReader() which is supposed to handle 
> FileNotFoundException but RemoteException wrapping FileNotFoundException was 
> missed.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Updated] (HBASE-18377) Error handling for FileNotFoundException should consider RemoteException in openReader()

2017-07-18 Thread Ted Yu (JIRA)

 [ 
https://issues.apache.org/jira/browse/HBASE-18377?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ted Yu updated HBASE-18377:
---
   Resolution: Fixed
 Hadoop Flags: Reviewed
Fix Version/s: 2.0.0-alpha-2
   1.5.0
   1.4.0
   3.0.0
   Status: Resolved  (was: Patch Available)

Thanks for the review, Ashish

> Error handling for FileNotFoundException should consider RemoteException in 
> openReader()
> 
>
> Key: HBASE-18377
> URL: https://issues.apache.org/jira/browse/HBASE-18377
> Project: HBase
>  Issue Type: Bug
>Reporter: Ted Yu
>Assignee: Ted Yu
> Fix For: 3.0.0, 1.4.0, 1.5.0, 2.0.0-alpha-2
>
> Attachments: 18377.branch-1.3.txt, 18377.v1.txt
>
>
> In region server log, I observed the following:
> {code}
> org.apache.hadoop.ipc.RemoteException(java.io.FileNotFoundException): File 
> does not exist: 
> /apps/hbase/data/WALs/lx.p.com,16020,1497300923131/497300923131. 
> default.1497302873178
>   at 
> org.apache.hadoop.hdfs.server.namenode.INodeFile.valueOf(INodeFile.java:71)
>   at 
> org.apache.hadoop.hdfs.server.namenode.INodeFile.valueOf(INodeFile.java:61)
>   at 
> org.apache.hadoop.hdfs.server.namenode.FSNamesystem.getBlockLocationsInt(FSNamesystem.java:1860)
>   at 
> org.apache.hadoop.hdfs.server.namenode.FSNamesystem.getBlockLocations(FSNamesystem.java:1831)
>   at 
> org.apache.hadoop.hdfs.server.namenode.FSNamesystem.getBlockLocations(FSNamesystem.java:1744)
> ...
>   at 
> org.apache.hadoop.fs.FileSystemLinkResolver.resolve(FileSystemLinkResolver.java:81)
>   at 
> org.apache.hadoop.hdfs.DistributedFileSystem.open(DistributedFileSystem.java:326)
>   at org.apache.hadoop.fs.FilterFileSystem.open(FilterFileSystem.java:162)
>   at org.apache.hadoop.fs.FileSystem.open(FileSystem.java:782)
>   at org.apache.hadoop.hbase.wal.WALFactory.createReader(WALFactory.java:293)
>   at org.apache.hadoop.hbase.wal.WALFactory.createReader(WALFactory.java:267)
>   at org.apache.hadoop.hbase.wal.WALFactory.createReader(WALFactory.java:255)
>   at org.apache.hadoop.hbase.wal.WALFactory.createReader(WALFactory.java:414)
>   at 
> org.apache.hadoop.hbase.replication.regionserver.ReplicationWALReaderManager.openReader(ReplicationWALReaderManager.java:69)
>   at 
> org.apache.hadoop.hbase.replication.regionserver.ReplicationSource.openReader(ReplicationSource.java:605)
>   at 
> org.apache.hadoop.hbase.replication.regionserver.ReplicationSource.run(ReplicationSource.java:364)
> {code}
> We have code in ReplicationSource#openReader() which is supposed to handle 
> FileNotFoundException but RemoteException wrapping FileNotFoundException was 
> missed.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Updated] (HBASE-18377) Error handling for FileNotFoundException should consider RemoteException in openReader()

2017-07-17 Thread Ted Yu (JIRA)

 [ 
https://issues.apache.org/jira/browse/HBASE-18377?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ted Yu updated HBASE-18377:
---
Summary: Error handling for FileNotFoundException should consider 
RemoteException in openReader()  (was: Error handling for FileNotFoundException 
should consider RemoteException in ReplicationSource#openReader())

> Error handling for FileNotFoundException should consider RemoteException in 
> openReader()
> 
>
> Key: HBASE-18377
> URL: https://issues.apache.org/jira/browse/HBASE-18377
> Project: HBase
>  Issue Type: Bug
>Reporter: Ted Yu
>Assignee: Ted Yu
> Attachments: 18377.branch-1.3.txt, 18377.v1.txt
>
>
> In region server log, I observed the following:
> {code}
> org.apache.hadoop.ipc.RemoteException(java.io.FileNotFoundException): File 
> does not exist: 
> /apps/hbase/data/WALs/lx.p.com,16020,1497300923131/497300923131. 
> default.1497302873178
>   at 
> org.apache.hadoop.hdfs.server.namenode.INodeFile.valueOf(INodeFile.java:71)
>   at 
> org.apache.hadoop.hdfs.server.namenode.INodeFile.valueOf(INodeFile.java:61)
>   at 
> org.apache.hadoop.hdfs.server.namenode.FSNamesystem.getBlockLocationsInt(FSNamesystem.java:1860)
>   at 
> org.apache.hadoop.hdfs.server.namenode.FSNamesystem.getBlockLocations(FSNamesystem.java:1831)
>   at 
> org.apache.hadoop.hdfs.server.namenode.FSNamesystem.getBlockLocations(FSNamesystem.java:1744)
> ...
>   at 
> org.apache.hadoop.fs.FileSystemLinkResolver.resolve(FileSystemLinkResolver.java:81)
>   at 
> org.apache.hadoop.hdfs.DistributedFileSystem.open(DistributedFileSystem.java:326)
>   at org.apache.hadoop.fs.FilterFileSystem.open(FilterFileSystem.java:162)
>   at org.apache.hadoop.fs.FileSystem.open(FileSystem.java:782)
>   at org.apache.hadoop.hbase.wal.WALFactory.createReader(WALFactory.java:293)
>   at org.apache.hadoop.hbase.wal.WALFactory.createReader(WALFactory.java:267)
>   at org.apache.hadoop.hbase.wal.WALFactory.createReader(WALFactory.java:255)
>   at org.apache.hadoop.hbase.wal.WALFactory.createReader(WALFactory.java:414)
>   at 
> org.apache.hadoop.hbase.replication.regionserver.ReplicationWALReaderManager.openReader(ReplicationWALReaderManager.java:69)
>   at 
> org.apache.hadoop.hbase.replication.regionserver.ReplicationSource.openReader(ReplicationSource.java:605)
>   at 
> org.apache.hadoop.hbase.replication.regionserver.ReplicationSource.run(ReplicationSource.java:364)
> {code}
> We have code in ReplicationSource#openReader() which is supposed to handle 
> FileNotFoundException but RemoteException wrapping FileNotFoundException was 
> missed.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)