|
@@ -995,7 +995,9 @@ public class NameNode {
|
|
@Override
|
|
@Override
|
|
public void stopStandbyServices() throws IOException {
|
|
public void stopStandbyServices() throws IOException {
|
|
// TODO(HA): Are we guaranteed to be the only active here?
|
|
// TODO(HA): Are we guaranteed to be the only active here?
|
|
- namesystem.stopStandbyServices();
|
|
|
|
|
|
+ if (namesystem != null) {
|
|
|
|
+ namesystem.stopStandbyServices();
|
|
|
|
+ }
|
|
}
|
|
}
|
|
|
|
|
|
@Override
|
|
@Override
|