<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Knox Gateway down in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Knox-Gateway-down/m-p/187264#M80309</link>
    <description>&lt;P&gt;Hi in my cluster knox gateway was down.i found one issue in knox-gc.log.&lt;/P&gt;&lt;P&gt;Please find the below error&lt;/P&gt;&lt;P&gt;2018-07-05T01:55:29.588+0000: 314055.583: [GC (Allocation Failure) 2018-07-05T01:55:29.887+0000: 314055.882: [ParNew: 2532112K-&amp;gt;10894K(2831168K), 0.0440397 secs] 2532112K-&amp;gt;10894K(2837312K), 0.3432294 secs] [Times: user=0.03 sys=0.00, real=0.35 secs]&lt;/P&gt;&lt;P&gt;Please help me how to solve&lt;/P&gt;</description>
    <pubDate>Thu, 05 Jul 2018 17:06:02 GMT</pubDate>
    <dc:creator>sai23</dc:creator>
    <dc:date>2018-07-05T17:06:02Z</dc:date>
    <item>
      <title>Knox Gateway down</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Knox-Gateway-down/m-p/187264#M80309</link>
      <description>&lt;P&gt;Hi in my cluster knox gateway was down.i found one issue in knox-gc.log.&lt;/P&gt;&lt;P&gt;Please find the below error&lt;/P&gt;&lt;P&gt;2018-07-05T01:55:29.588+0000: 314055.583: [GC (Allocation Failure) 2018-07-05T01:55:29.887+0000: 314055.882: [ParNew: 2532112K-&amp;gt;10894K(2831168K), 0.0440397 secs] 2532112K-&amp;gt;10894K(2837312K), 0.3432294 secs] [Times: user=0.03 sys=0.00, real=0.35 secs]&lt;/P&gt;&lt;P&gt;Please help me how to solve&lt;/P&gt;</description>
      <pubDate>Thu, 05 Jul 2018 17:06:02 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Knox-Gateway-down/m-p/187264#M80309</guid>
      <dc:creator>sai23</dc:creator>
      <dc:date>2018-07-05T17:06:02Z</dc:date>
    </item>
    <item>
      <title>Re: Knox Gateway down</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Knox-Gateway-down/m-p/187265#M80310</link>
      <description>&lt;P&gt; &lt;A rel="user" href="https://community.cloudera.com/users/70431/mkannachinnari.html" nodeid="70431"&gt;@kanna k&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Multiple occurrences of GC (Allocation Failure) could lead to OutOfMemory but if you only see single one that isn't probably the problem. If you still think this could be due memory, please review the following HC article on how to calculate and set appropriate memory for Knox:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.hortonworks.com/articles/105860/how-to-calculate-and-change-jvm-heap-memory-settin.html" target="_blank"&gt;https://community.hortonworks.com/articles/105860/how-to-calculate-and-change-jvm-heap-memory-settin.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;*** If you found this answer addressed your question, please take a moment to login and click the "accept" link on the answer.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Jul 2018 18:57:15 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Knox-Gateway-down/m-p/187265#M80310</guid>
      <dc:creator>falbani</dc:creator>
      <dc:date>2018-07-05T18:57:15Z</dc:date>
    </item>
    <item>
      <title>Re: Knox Gateway down</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Knox-Gateway-down/m-p/187266#M80311</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/11048/falbani.html" nodeid="11048"&gt;@Felix Albani  &lt;/A&gt;&lt;A rel="user" href="https://community.cloudera.com/users/5019/ssubhas.html" nodeid="5019"&gt;@Sindhu&lt;/A&gt; &lt;A rel="user" href="https://community.cloudera.com/users/3418/jsensharma.html" nodeid="3418"&gt;@Jay Kumar SenSharma&lt;/A&gt; &lt;A rel="user" href="https://community.cloudera.com/users/1271/sheltong.html" nodeid="1271"&gt;@Geoffrey Shelton Okot&lt;/A&gt;Hi,&lt;BR /&gt;&lt;P style="display: inline !important;"&gt;knox gateway is going down on daily basis.i found only knox-gc.log with toaday's time stamp in /var/log/knox/ directory.&lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;if you think that it is due to allocation failure can you please tell me how much memory i need to allocate for knox gateway.&lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;in my gateway.sh file i found the below line.do i need to change the values here or any other place and please let me know how much memory i should give to resolve this issue.&lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;APP_MEM_OPTS="-Xmx5g -XX:NewSize=3G -XX:MaxNewSize=3G -verbose:gc -XX:ParallelGCThreads=8 -XX:+UseConcMarkSweepGC -Xloggc:/var/log/knox/knox-gc.log -XX:+PrintGCDetails -XX:+PrintGCTimeStamps -XX:+PrintGCDateStamps"&lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;Thanks in advance&lt;/P&gt;&lt;P style="margin-left: 20px;"&gt; &lt;/P&gt;</description>
      <pubDate>Tue, 10 Jul 2018 17:27:24 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Knox-Gateway-down/m-p/187266#M80311</guid>
      <dc:creator>sai23</dc:creator>
      <dc:date>2018-07-10T17:27:24Z</dc:date>
    </item>
    <item>
      <title>Re: Knox Gateway down</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Knox-Gateway-down/m-p/187267#M80312</link>
      <description>&lt;P&gt;i found below information in gateway.log&lt;/P&gt;&lt;P&gt;can any one help me to resolve this...&lt;/P&gt;&lt;P&gt;2018-07-10 09:55:07,535 ERROR hadoop.gateway (DefaultTopologyService.java:loadTopology(111)) - Failed to load topology /usr/hdp/2.6.1.0-129/knox/bin/../conf/topologies/sample.xml, retrying after 50ms: org.xml.sax.SAXParseException; lineNumber: 41; columnNumber: 76; The reference to entity "ServiceAccounts" must end with the ';' delimiter.&lt;/P&gt;&lt;P&gt;2018-07-10 09:55:07,588 ERROR digester3.Digester (Digester.java:fatalError(1541)) - Parse Fatal Error at line 41 column 76: The reference to entity "ServiceAccounts" must end with the ';' delimiter.&lt;/P&gt;&lt;P&gt;org.xml.sax.SAXParseException; lineNumber: 41; columnNumber: 76; The reference to entity "ServiceAccounts" must end with the ';' delimiter.&lt;/P&gt;&lt;P&gt;  at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:203)&lt;/P&gt;&lt;P&gt;  at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(ErrorHandlerWrapper.java:177)&lt;/P&gt;&lt;P&gt;  at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:441)&lt;/P&gt;&lt;P&gt;  at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:368)&lt;/P&gt;&lt;P&gt;  at com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatalError(XMLScanner.java:1437)&lt;/P&gt;&lt;P&gt;  at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanEntityReference(XMLDocumentFragmentScannerImpl.java:1850)&lt;/P&gt;&lt;P&gt;  at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:3067)&lt;/P&gt;&lt;P&gt;  at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:606)&lt;/P&gt;&lt;P&gt;  at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:510)&lt;/P&gt;&lt;P&gt;  at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:848)&lt;/P&gt;&lt;P&gt;  at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:777)&lt;/P&gt;&lt;P&gt;  at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:141)&lt;/P&gt;&lt;P&gt;  at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1213)&lt;/P&gt;&lt;P&gt;  at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:649)&lt;/P&gt;&lt;P&gt;  at org.apache.commons.digester3.Digester.parse(Digester.java:1642)&lt;/P&gt;&lt;P&gt;  at org.apache.commons.digester3.Digester.parse(Digester.java:1701)&lt;/P&gt;&lt;P&gt;  at org.apache.hadoop.gateway.services.topology.impl.DefaultTopologyService.loadTopologyAttempt(DefaultTopologyService.java:124)&lt;/P&gt;&lt;P&gt;  at org.apache.hadoop.gateway.services.topology.impl.DefaultTopologyService.loadTopology(DefaultTopologyService.java:100)&lt;/P&gt;&lt;P&gt;  at org.apache.hadoop.gateway.services.topology.impl.DefaultTopologyService.loadTopologies(DefaultTopologyService.java:235)&lt;/P&gt;&lt;P&gt;  at org.apache.hadoop.gateway.services.topology.impl.DefaultTopologyService.reloadTopologies(DefaultTopologyService.java:320)&lt;/P&gt;&lt;P&gt;  at org.apache.hadoop.gateway.GatewayServer.start(GatewayServer.java:422)&lt;/P&gt;&lt;P&gt;  at org.apache.hadoop.gateway.GatewayServer.startGateway(GatewayServer.java:295)&lt;/P&gt;&lt;P&gt;  at org.apache.hadoop.gateway.GatewayServer.main(GatewayServer.java:148)&lt;/P&gt;&lt;P&gt;  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)&lt;/P&gt;&lt;P&gt;  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)&lt;/P&gt;&lt;P&gt;  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)&lt;/P&gt;&lt;P&gt;  at java.lang.reflect.Method.invoke(Method.java:497)&lt;/P&gt;&lt;P&gt;  at org.apache.hadoop.gateway.launcher.Invoker.invokeMainMethod(Invoker.java:70)&lt;/P&gt;&lt;P&gt;  at org.apache.hadoop.gateway.launcher.Invoker.invoke(Invoker.java:39)&lt;/P&gt;&lt;P&gt;  at org.apache.hadoop.gateway.launcher.Command.run(Command.java:99)&lt;/P&gt;&lt;P&gt;  at org.apache.hadoop.gateway.launcher.Launcher.run(Launcher.java:69)&lt;/P&gt;&lt;P&gt;  at org.apache.hadoop.gateway.launcher.Launcher.main(Launcher.java:46)&lt;/P&gt;&lt;P&gt;2018-07-10 09:55:07,589 ERROR digester3.Digester (Digester.java:parse(1652)) - An error occurred while parsing XML from '(already loaded from stream)', see nested exceptions&lt;/P&gt;&lt;P&gt;org.xml.sax.SAXParseException; lineNumber: 41; columnNumber: 76; The reference to entity "ServiceAccounts" must end with the ';' delimiter.&lt;/P&gt;&lt;P&gt;  at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1239)&lt;/P&gt;&lt;P&gt;  at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:649)&lt;/P&gt;&lt;P&gt;  at org.apache.commons.digester3.Digester.parse(Digester.java:1642)&lt;/P&gt;&lt;P&gt;  at org.apache.commons.digester3.Digester.parse(Digester.java:1701)&lt;/P&gt;&lt;P&gt;  at org.apache.hadoop.gateway.services.topology.impl.DefaultTopologyService.loadTopologyAttempt(DefaultTopologyService.java:124)&lt;/P&gt;&lt;P&gt;  at org.apache.hadoop.gateway.services.topology.impl.DefaultTopologyService.loadTopology(DefaultTopologyService.java:100)&lt;/P&gt;&lt;P&gt;  at org.apache.hadoop.gateway.services.topology.impl.DefaultTopologyService.loadTopologies(DefaultTopologyService.java:235)&lt;/P&gt;&lt;P&gt;  at org.apache.hadoop.gateway.services.topology.impl.DefaultTopologyService.reloadTopologies(DefaultTopologyService.java:320)&lt;/P&gt;&lt;P&gt;  at org.apache.hadoop.gateway.GatewayServer.start(GatewayServer.java:422)&lt;/P&gt;&lt;P&gt;  at org.apache.hadoop.gateway.GatewayServer.startGateway(GatewayServer.java:295)&lt;/P&gt;&lt;P&gt;  at org.apache.hadoop.gateway.GatewayServer.main(GatewayServer.java:148)&lt;/P&gt;&lt;P&gt;  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)&lt;/P&gt;&lt;P&gt;  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)&lt;/P&gt;&lt;P&gt;  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)&lt;/P&gt;&lt;P&gt;  at java.lang.reflect.Method.invoke(Method.java:497)&lt;/P&gt;&lt;P&gt;  at org.apache.hadoop.gateway.launcher.Invoker.invokeMainMethod(Invoker.java:70)&lt;/P&gt;&lt;P&gt;  at org.apache.hadoop.gateway.launcher.Invoker.invoke(Invoker.java:39)&lt;/P&gt;&lt;P&gt;  at org.apache.hadoop.gateway.launcher.Command.run(Command.java:99)&lt;/P&gt;&lt;P&gt;2018-07-10 09:55:07,592 ERROR hadoop.gateway (DefaultTopologyService.java:loadTopologies(252)) - Failed to load topology /usr/hdp/2.6.1.0-129/knox/bin/../conf/topologies/sample.xml: org.xml.sax.SAXParseException; lineNumber: 41; columnNumber: 76; The reference to entity "ServiceAccounts" must end with the ';' delimiter.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Jul 2018 19:20:57 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Knox-Gateway-down/m-p/187267#M80312</guid>
      <dc:creator>sai23</dc:creator>
      <dc:date>2018-07-10T19:20:57Z</dc:date>
    </item>
    <item>
      <title>Re: Knox Gateway down</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Knox-Gateway-down/m-p/187268#M80313</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/70431/mkannachinnari.html" nodeid="70431"&gt;@kanna k&lt;/A&gt; &lt;/P&gt;&lt;P&gt;So based on the above logs you added I see&lt;/P&gt;&lt;PRE&gt;2018-07-10 09:55:07,592 ERROR hadoop.gateway (DefaultTopologyService.java:loadTopologies(252)) - Failed to load topology /usr/hdp/2.6.1.0-129/knox/bin/../conf/topologies/sample.xml: org.xml.sax.SAXParseException; lineNumber: 41; columnNumber: 76; The reference to entity "ServiceAccounts" must end with the ';' delimiter.&lt;/PRE&gt;&lt;P&gt;This error points to a sample.xml topology file which has errors. Perhaps you can move it out from topologies directory or fix the problem in the before mentioned line.&lt;/P&gt;&lt;P&gt;As far as memory I already provided the link to calculate the memory for Knox in previous post. But as I mentioned, unless you are seeing OOM exceptions I don't think you are having memory problems. I would suggest you check the logs and see what is causing the knox server to go down. &lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;*** If you found this answer addressed your question, please take a moment to login and click the "accept" link on the answer.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Jul 2018 19:22:56 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Knox-Gateway-down/m-p/187268#M80313</guid>
      <dc:creator>falbani</dc:creator>
      <dc:date>2018-07-10T19:22:56Z</dc:date>
    </item>
  </channel>
</rss>

